#include <Timer.h>
Public Member Functions | |
double | avgtime () const |
unsigned int | ntimes () const |
double | rms () const |
void | start () |
void | stop () |
Timer () | |
double | tottime () const |
~Timer ()=default | |
Private Attributes | |
unsigned int | ntimes_ {0} |
std::chrono::high_resolution_clock::time_point | tstart_ |
double | ttot_ {0.0} |
double | ttotsq_ {0.0} |
|
default |
|
inline |
|
inline |
Definition at line 17 of file Timer.h.
References ntimes_.
Referenced by trklet::TrackletEventProcessor::printSummary().
|
inline |
void Timer::start | ( | ) |
Definition at line 5 of file Timer.cc.
References submitPVValidationJobs::now, and tstart_.
Referenced by progressbar.ProgressBar::__next__(), and trklet::TrackletEventProcessor::event().
void Timer::stop | ( | ) |
Definition at line 6 of file Timer.cc.
References submitPVValidationJobs::now, ntimes_, createJobs::tmp, tstart_, ttot_, and ttotsq_.
Referenced by trklet::TrackletEventProcessor::event().
|
inline |
Definition at line 20 of file Timer.h.
References ttot_.
Referenced by trklet::TrackletEventProcessor::printSummary().
|
private |
|
private |
|
private |