#include <WallclockTimer.h>
Public Member Functions | |
void | add (double t) |
WallclockTimer & | operator= (const WallclockTimer &)=delete |
double | realTime () const |
void | reset () |
void | start () |
double | stop () |
WallclockTimer () | |
WallclockTimer (WallclockTimer &&)=default | |
WallclockTimer (const WallclockTimer &)=delete | |
~WallclockTimer () | |
Private Types | |
enum | State { kRunning, kStopped } |
Private Member Functions | |
double | calculateDeltaTime () const |
Private Attributes | |
double | accumulatedRealTime_ |
struct timeval | startRealTime_ |
enum edm::WallclockTimer::State | state_ |
Definition at line 37 of file WallclockTimer.h.
|
private |
Enumerator | |
---|---|
kRunning | |
kStopped |
Definition at line 61 of file WallclockTimer.h.
WallclockTimer::WallclockTimer | ( | ) |
Definition at line 33 of file WallclockTimer.cc.
References startRealTime_.
WallclockTimer::~WallclockTimer | ( | ) |
Definition at line 47 of file WallclockTimer.cc.
|
default |
|
delete |
void WallclockTimer::add | ( | double | t | ) |
Definition at line 87 of file WallclockTimer.cc.
References accumulatedRealTime_, and submitPVValidationJobs::t.
Referenced by counter.Counter::register().
|
private |
Definition at line 89 of file WallclockTimer.cc.
References startRealTime_, and cmsswSequenceInfo::tp.
Referenced by realTime(), and stop().
|
delete |
double WallclockTimer::realTime | ( | ) | const |
Definition at line 110 of file WallclockTimer.cc.
References accumulatedRealTime_, calculateDeltaTime(), kStopped, and state_.
void WallclockTimer::reset | ( | void | ) |
void WallclockTimer::start | ( | ) |
Definition at line 63 of file WallclockTimer.cc.
References kRunning, kStopped, startRealTime_, and state_.
Referenced by progressbar.ProgressBar::__next__().
double WallclockTimer::stop | ( | ) |
Definition at line 74 of file WallclockTimer.cc.
References accumulatedRealTime_, calculateDeltaTime(), kRunning, kStopped, state_, and submitPVValidationJobs::t.
|
private |
Definition at line 68 of file WallclockTimer.h.
Referenced by add(), realTime(), reset(), and stop().
|
private |
Definition at line 65 of file WallclockTimer.h.
Referenced by calculateDeltaTime(), start(), and WallclockTimer().
|
private |
Referenced by realTime(), start(), and stop().