#include <Statistics.h>
Inheritance diagram for StopwatchCPU:
Public Member Functions | |
virtual void | start () |
virtual void | stop () |
virtual void | init () |
virtual void | print (std::ostream &stream) const |
double | getTime () const |
Protected Attributes | |
time_t | _startTime |
time_t | _stopTime |
start and stop time of duration | |
double | _timeDist |
accumulated duration |
Definition at line 133 of file Statistics.h.
|
Definition at line 126 of file Statistics.h. References Stopwatch::_timeDist. |
|
Initializes/clears receptor Implements Receptor. Definition at line 106 of file Statistics.h. References Stopwatch::_timeDist. |
|
Prints statistics
Implements Receptor. Definition at line 107 of file Statistics.h. References Stopwatch::_timeDist. |
|
Starts the measurement Reimplemented from Stopwatch. Definition at line 135 of file Statistics.h. References Stopwatch::_startTime. |
|
Stops the measurement, measured duration is add to so far gauged duration. Reimplemented from Stopwatch. Definition at line 136 of file Statistics.h. References Stopwatch::_startTime, Stopwatch::_stopTime, and Stopwatch::_timeDist. |
|
Definition at line 97 of file Statistics.h. Referenced by StopwatchCPU::start(), Stopwatch::start(), StopwatchCPU::stop(), and Stopwatch::stop(). |
|
start and stop time of duration
Definition at line 97 of file Statistics.h. Referenced by StopwatchCPU::stop(), and Stopwatch::stop(). |
|
accumulated duration
Definition at line 98 of file Statistics.h. Referenced by Stopwatch::getTime(), Stopwatch::init(), Stopwatch::print(), StopwatchCPU::stop(), and Stopwatch::stop(). |