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

void Impala::Util::TimeStats::Print ( std::ostream &  os  )  [inline]

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:


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