Definition at line 274 of file TimePlot.h. References mNrRuns, and mNrSplitTimes. Referenced by SaveData(). 00276 { 00277 fprintf(fp, "print \"%s_%s_%s_func_runs timer=[$0] func=[$1]\"\n\n", 00278 machineName.c_str(), experiment.c_str(), imageName.c_str()); 00279 fprintf(fp, "set xlabel 'Kernel size'\n"); 00280 fprintf(fp, "set ylabel 'Time'\n"); 00281 fprintf(fp, "set key left top\n"); 00282 fprintf(fp, "set data style linespoints\n\n\n"); 00283 fprintf(fp, "set title '%s . %s . %s . all runs of function $1 . $0'\n", 00284 machineName.c_str(), experiment.c_str(), imageName.c_str()); 00285 fprintf(fp, "plot '%s_%s_%s_$0.dat' index 0 using 1:2+$1 title 'average'", 00286 machineName.c_str(), experiment.c_str(), imageName.c_str()); 00287 for (int i=0 ; i<mNrRuns ; i++) 00288 { 00289 fprintf(fp, ", \\\n "); 00290 fprintf(fp, "'%s_%s_%s_$0.dat' index %d+$1 using 1:%d title 'run %d'", 00291 machineName.c_str(), experiment.c_str(), imageName.c_str(), 00292 mNrSplitTimes+1, 2+i, 1+i); 00293 } 00294 fprintf(fp, "\n\npause -1 \"Hit return\"\n"); 00295 }
|