|
spot
2.16
|
Struct used to start and stop both timer and stopwatch clocks. More...
#include <spot/misc/timer.hh>
Public Member Functions | |
| void | start () |
| Start both wall-clock and CPU timers. More... | |
| void | stop () |
| Stop both timers and record elapsed times. More... | |
| double | walltime () const |
| Return elapsed wall time in seconds since the last start(). More... | |
| clock_t | cputime (bool user, bool system, bool children, bool parent) const |
| Return accumulated CPU ticks for selected time components. More... | |
Struct used to start and stop both timer and stopwatch clocks.
|
inline |
Return accumulated CPU ticks for selected time components.
References spot::timer::get_uscp().
|
inline |
Start both wall-clock and CPU timers.
References spot::stopwatch::start(), and spot::timer::start().
|
inline |
Stop both timers and record elapsed times.
References spot::stopwatch::stop(), and spot::timer::stop().
|
inline |
Return elapsed wall time in seconds since the last start().
1.9.1