54 double getTotalTimes();
60 inline void StDbLogger::start(){mt0=wallTime();}
61 inline double StDbLogger::end() {
62 double elapsedTime=wallTime()-mt0;
63 mtotalTimes+=elapsedTime;
67 inline double StDbLogger::getTotalTimes() {
return mtotalTimes; };
68 inline int StDbLogger::getNumCalls() {
return mnTotal; }
69 inline double StDbLogger::wallTime(){
71 gettimeofday( &Tp, (
struct timezone *) 0);
73 return Tp.tv_sec + Tp.tv_usec/1000000.0;
StDbLogger()
calls to clock