Classes |
| struct | Metric |
| | Class Metric maintains the metric data for the timer or counter. More...
|
Public Member Functions |
| | Timer (const std::string &name, const Timer parent) |
| | Creates a new Timer instance.
|
| | Timer (const std::string &name, const Timer parent, const TimerSet &timer_set) |
| | Creates a new Timer instance.
|
| | Timer (const std::string &name, TimerMask timer_mask, const Timer parent) |
| | Creates a new Timer instance.
|
| | Timer (const std::string &name, TimerMask timer_mask, const Timer parent, const TimerSet &timer_set) |
| | Creates a new Timer instance.
|
|
| Timer (TimerImpl &timer_impl) |
| | Creates the root Timer timer instance.
|
|
| Timer (TimerImpl *timer_impl) |
|
| Timer (const Timer &timer) |
|
Timer & | operator= (const Timer &timer) |
|
const TimerList & | getTimerList () const |
|
TimerList::iterator | begin () |
|
TimerList::const_iterator | begin () const |
|
TimerList::iterator | end () |
|
TimerList::const_iterator | end () const |
| const std::string & | getName () const |
| | Member function getName returns the name of the timer.
|
| const TimerSet & | getTimerSet () const |
| | Member function getTimerMask returns the timer mask of the timer.
|
| TimerMask | getTimerMask () const |
| | Member function getTimerMask returns the timer mask of the timer.
|
|
bool | shouldRecord () const |
| double | getSubtimerLapCount () const |
| | Member function getSubtimerLapCount returns the subtimer lap counter.
|
| template<class T > |
| const Metric< T > & | getMetric () const |
| | Member function getLapCount returns the lap counter metric.
|
| double | accumulateSubtimerLapCounts () const |
| | Member function accumulateSubtimerLapCounts accumulates the subtimer la counts.
|
| Timer & | start () |
| | Member function start starts the lap timer.
|
| Timer & | lap () |
| | Member function lap sets the lap stop time.
|
| Timer & | stop () |
| | Member function stop sets the lap stop time and sums the just completed lap time to the timer.
|
|
void | checkpoint () const |
| | Member function checkpoint checkpoints the metrics by storing the total time in the checkpoint value.
|
| Writer & | dump (Writer &dout) const |
| | Member function dump writes the timer to the specified diagnostic writer.
|
Friends |
|
class | TimerImpl |
|
class | TimeBlock |
|
class | TimeBlockSynchronized |
| void | updateRootTimer (Timer) |
| | Function updateRootTimer updates the root timers stop and total metric values with the current time.
|
| Timer | createRootTimer (const std::string &, const TimerSet &) |
| | Function createRootTimer creates a root timer.
|
| void | deleteRootTimer (Timer) |
| | Function deleteRootTimer deletes a root timer and all of it's children timers.
|
| std::vector< Timer > & | findTimers (Timer, const std::string &, std::vector< Timer > &) |
| | Member function findTimer return a vector of timers whose tail of the dot separated name from root_time to leaf matches the specified path_tail.
|
Class Timer implements a diagnostic timer and timer container for the collection and display of execution times.
Definition at line 175 of file Timer.hpp.