initNames();
+ if( convert2txt ) {
+ try {
+ txtStream = new BufferedWriter( new FileWriter( "events.txt" ) );
+ } catch( Exception e ) { e.printStackTrace(); System.exit( -1 ); }
+ }
+
if (convert2plot) {
printPlotCmd();
}
printStats( outFile );
+ if( convert2txt ) {
+ try {
+ txtStream.close();
+ } catch( Exception e ) { e.printStackTrace(); System.exit( -1 ); }
+ }
+
if( convert2plot ) {
try {
bwPlot.write("plot [0:"+(globendtime/scale)+"] [-1:"+(numThreads+1)+"] -3\n");
if( convert2txt ) {
try {
- txtStream = new BufferedWriter( new FileWriter( "events.txt" ) );
-
txtStream.write( "\n\n\n\n" );
txtStream.write( "*************************************************\n" );
txtStream.write( "** Thread "+tNum+"\n" );