#include <Statistics.h>
Inheritance diagram for Stopwatch:

Public Member Functions | |
| Stopwatch () | |
| virtual void | init () |
| virtual void | print (std::ostream &stream) const |
| virtual void | start () |
| virtual void | stop () |
| double | getTime () const |
Protected Attributes | |
| time_t | _startTime |
| time_t | _stopTime |
| start and stop time of duration | |
| double | _timeDist |
| accumulated duration | |
Definition at line 95 of file Statistics.h.
|
|
Contructor Definition at line 104 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 in StopwatchCPU. Definition at line 112 of file Statistics.h. References Stopwatch::_startTime. |
|
|
Stops the measurement, measured duration is add to so far gauged duration. Reimplemented in StopwatchCPU. Definition at line 118 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(). |
1.4.6