Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Util::TimePlot::DoWriteGpSplitAverage ( FILE *  fp,
std::string  machineName,
std::string  experiment,
std::string  imageName,
std::string *  funcName 
) [inline, private]

Definition at line 223 of file TimePlot.h.

References mNrFunctions.

Referenced by SaveData().

00225     {
00226         fprintf(fp, "print \"%s_%s_%s_split_average timer=[$0] split=[$1]\"\n\n",
00227                 machineName.c_str(), experiment.c_str(), imageName.c_str());
00228         fprintf(fp, "set xlabel 'Kernel size'\n");
00229         fprintf(fp, "set ylabel 'Time'\n");
00230         fprintf(fp, "set key left top\n");
00231         fprintf(fp, "set data style linespoints\n\n\n");
00232         fprintf(fp, "set title '%s . %s . %s . average of split $1 . $0'\n",
00233                 machineName.c_str(), experiment.c_str(), imageName.c_str());
00234         fprintf(fp, "plot ");
00235         for (int i=0 ; i<mNrFunctions ; i++)
00236         {
00237             if (i>0)
00238                 fprintf(fp, ", \\\n     ");
00239             fprintf(fp, "'%s_%s_%s_$0.dat' index $1 using 1:%d title '%s'",
00240                     machineName.c_str(), experiment.c_str(), imageName.c_str(),
00241                     2+i, funcName[i].c_str());
00242         }
00243         fprintf(fp, "\n\npause -1 \"Hit return\"\n");
00244     }


Generated on Thu Jan 13 09:24:23 2011 for ImpalaSrc by  doxygen 1.5.1