#include <Utilities/Timing/interface/GenTimer.h>
Public Types | |
typedef Time::IntervalType | IntervalType |
typedef GenTimer< Time > | self |
typedef Time::TimeInterval | TimeInterval |
Public Member Functions | |
void | forceStop () |
GenTimer (int ipid) | |
from known context | |
GenTimer () | |
constructor | |
Time::TimeInterval | lap () const |
void | reset () |
bool | running () const |
void | start () |
void | stop () |
~GenTimer () | |
destructor | |
Static Public Member Functions | |
static double | bias (bool insec=true, unsigned int n=5000) |
static double | ticksInSec () |
Private Attributes | |
Time::IntervalType | elapsed |
int | pid |
int | running_ |
Classes | |
struct | Bias |
Definition at line 51 of file GenTimer.h.
typedef Time::IntervalType GenTimer< Time >::IntervalType |
Definition at line 54 of file GenTimer.h.
Definition at line 56 of file GenTimer.h.
typedef Time::TimeInterval GenTimer< Time >::TimeInterval |
Definition at line 53 of file GenTimer.h.
static double GenTimer< Time >::bias | ( | bool | insec = true , |
|
unsigned int | n = 5000 | |||
) | [inline, static] |
Definition at line 77 of file GenTimer.h.
References it, GenTimer< Time >::Bias::mes, GenTimer< Time >::Bias::met, and n.
Referenced by TimingReport::Item::cpusec().
Definition at line 115 of file GenTimer.h.
References GenTimer< Time >::running_, and GenTimer< Time >::stop().
Time::TimeInterval GenTimer< Time >::lap | ( | ) | const [inline] |
Definition at line 122 of file GenTimer.h.
References GenTimer< Time >::elapsed, GenTimer< Time >::pid, and GenTimer< Time >::running().
Referenced by GenTimer< Time >::Bias::Bias(), TimingReport::Item::cpusec(), TimeMe::lap(), and TimingReport::Item::stop().
Definition at line 98 of file GenTimer.h.
References GenTimer< Time >::elapsed, GenTimer< Time >::pid, and GenTimer< Time >::running().
Definition at line 95 of file GenTimer.h.
References GenTimer< Time >::running_.
Referenced by GenTimer< Time >::lap(), and GenTimer< Time >::reset().
00095 { return running_>0;}
Definition at line 104 of file GenTimer.h.
References GenTimer< Time >::elapsed, GenTimer< Time >::pid, and GenTimer< Time >::running_.
Referenced by GenTimer< Time >::Bias::Bias(), and TimingReport::Item::start().
Definition at line 110 of file GenTimer.h.
References GenTimer< Time >::elapsed, GenTimer< Time >::pid, and GenTimer< Time >::running_.
Referenced by GenTimer< Time >::Bias::Bias(), GenTimer< Time >::forceStop(), and TimingReport::Item::stop().
static double GenTimer< Time >::ticksInSec | ( | ) | [inline, static] |
Definition at line 129 of file GenTimer.h.
Referenced by GenTimer< Time >::lap(), GenTimer< Time >::reset(), GenTimer< Time >::start(), and GenTimer< Time >::stop().
Definition at line 131 of file GenTimer.h.
Referenced by GenTimer< Time >::lap(), GenTimer< Time >::reset(), GenTimer< Time >::start(), and GenTimer< Time >::stop().
Definition at line 130 of file GenTimer.h.
Referenced by GenTimer< Time >::forceStop(), GenTimer< Time >::running(), GenTimer< Time >::start(), and GenTimer< Time >::stop().