Definition at line 155 of file Logger.h. References GetInstance(), LogString(), mActionLevels, mActionTimes, mTimer, Impala::Timer::SplitTime(), and Warning(). 00156 { 00157 Logger *al = &GetInstance(); 00158 if (al->mActionTimes.find(actionName) == al->mActionTimes.end()) 00159 { 00160 Warning() << "EndAction called but no action started: " 00161 << actionName << std::endl; 00162 return 0.0; 00163 } 00164 00165 double delta = al->mTimer->SplitTime() - al->mActionTimes[actionName]; 00166 std::ostringstream s; 00167 s << "ACTION STOP: " << actionName << ", " << delta << " seconds"; 00168 al->LogString(s.str(), false, al->mActionLevels[actionName]); 00169 return delta; 00170 }
Here is the call graph for this function:
|