Definition at line 247 of file TimePlot.h. References mNrSplitTimes. Referenced by SaveData(). 00249 { 00250 fprintf(fp, "print \"%s_%s_%s_func_decomp timer=[$0] func=[$1]\"\n\n", 00251 machineName.c_str(), experiment.c_str(), imageName.c_str()); 00252 fprintf(fp, "set xlabel 'Kernel size'\n"); 00253 fprintf(fp, "set ylabel 'Time'\n"); 00254 fprintf(fp, "set key left top\n"); 00255 fprintf(fp, "set data style linespoints\n\n\n"); 00256 fprintf(fp, "set title '%s . %s . %s . decomposition function $1 . $0'\n", 00257 machineName.c_str(), experiment.c_str(), imageName.c_str()); 00258 fprintf(fp, "plot "); 00259 for (int i=0 ; i<=mNrSplitTimes ; i++) 00260 { 00261 if (i>0) 00262 fprintf(fp, ", \\\n "); 00263 fprintf(fp, "'%s_%s_%s_$0.dat' index %d using 1:2+$1 ", 00264 machineName.c_str(), experiment.c_str(), imageName.c_str(), i); 00265 if (i == 0) 00266 fprintf(fp, "title 'final'"); 00267 else 00268 fprintf(fp, "title 'split %d'", i); 00269 } 00270 fprintf(fp, "\n\npause -1 \"Hit return\"\n"); 00271 }
|