8 : fTimeProfilingOn(false),
36 std::stringstream msg;
38 msg << prefix <<
": ";
void ResetTimer()
Reset the timer to now.
double GetProcessCallTime() const
Return the average time of a single process call.
unsigned long long int fProcessCalls
NUmber of calls to the process.
double fProcessTime
Total time spent running the process.
virtual void EndProcessCall()
End a process call and increment time and calls.
virtual void StartProcessCall()
Start of a process call.
QModuleTimeProfiling()
ctor initialized internal variables
double GetTimer() const
return the time since the last reset
unsigned long long GetProcessCalls() const
Return the total number of process calls.
std::string GetTimeProfileReport(const std::string &prefix="") const
Report the time profiling.
clock_t fTimerStartTime
CLock time of the last timer reset.