Definition at line 111 of file TimePlot.h. References DoOpenFile(), DoSaveData(), DoWriteGpBase(), DoWriteGpFuncDecomp(), DoWriteGpFuncRuns(), and DoWriteGpSplitAverage(). Referenced by Impala::Samples::Timing::DoOneRecConvSep(), and Impala::Samples::Timing::DoOneRecConvSepComlex(). 00113 { 00114 std::string baseName = machineName + "/" + machineName + "_" + experiment + 00115 "_" + imageName; 00116 printf("Saving data %s\n", baseName.c_str()); 00117 00118 // data, timer = 0 00119 00120 std::string fileName = baseName + "_proctime.dat"; 00121 FILE* fp; 00122 if (! (fp = DoOpenFile(fileName))) 00123 return; 00124 DoSaveData(fp, machineName, experiment, imageName, 0, funcName); 00125 fclose(fp); 00126 00127 // data, timer = 1 00128 00129 fileName = baseName + "_realtime.dat"; 00130 if (! (fp = DoOpenFile(fileName))) 00131 return; 00132 DoSaveData(fp, machineName, experiment, imageName, 1, funcName); 00133 fclose(fp); 00134 00135 // gnuplot files 00136 00137 fileName = baseName + "_proctime.gp"; 00138 if (! (fp = DoOpenFile(fileName))) 00139 return; 00140 DoWriteGpBase(fp, machineName, experiment, imageName, 00141 std::string("proctime")); 00142 fclose(fp); 00143 00144 fileName = baseName + "_realtime.gp"; 00145 if (! (fp = DoOpenFile(fileName))) 00146 return; 00147 DoWriteGpBase(fp, machineName, experiment, imageName, 00148 std::string("realtime")); 00149 fclose(fp); 00150 00151 fileName = baseName + "_split_average.gp"; 00152 if (! (fp = DoOpenFile(fileName))) 00153 return; 00154 DoWriteGpSplitAverage(fp, machineName, experiment, imageName, funcName); 00155 fclose(fp); 00156 00157 fileName = baseName + "_func_decomp.gp"; 00158 if (! (fp = DoOpenFile(fileName))) 00159 return; 00160 DoWriteGpFuncDecomp(fp, machineName, experiment, imageName); 00161 fclose(fp); 00162 00163 fileName = baseName + "_func_runs.gp"; 00164 if (! (fp = DoOpenFile(fileName))) 00165 return; 00166 DoWriteGpFuncRuns(fp, machineName, experiment, imageName); 00167 fclose(fp); 00168 }
Here is the call graph for this function:
|