Definition at line 111 of file TimeStats.h. References ComputePercentages(), Impala::Timer::Format(), mGrandTotal, mGroups, NrGroups(), and StopTime(). Referenced by AsString(), Impala::Util::operator<<(), and Impala::Core::Training::Svm::Predict(). 00112 { 00113 StopTime(); 00114 ComputePercentages(); 00115 os << "timestats: total = " << mGrandTotal << " (" 00116 << Timer::Format(mGrandTotal) << ") - " << NrGroups() << " groups" 00117 << std::endl; 00118 for (int i=0 ; i<NrGroups() ; i++) 00119 { 00120 Group* g = mGroups[i]; 00121 int nr = g->mMeasurements.size(); 00122 os << " " << g->mName << ": " << g->mPercentage << " % = " 00123 << g->mTotal << " (" << Timer::Format(g->mTotal) 00124 << ") (avg of " << nr << " is " << g->mTotal/nr << ")" 00125 << std::endl; 00126 } 00127 }
Here is the call graph for this function: ![]()
|