Timer class.
More...
#include <TimerC.h>
TimerC measures the time consumption
◆ TimerC()
GEOM_WOF::TimerC::TimerC |
( |
| ) |
|
|
inline |
At construction TimerC stores the current time
◆ get()
double GEOM_WOF::TimerC::get |
( |
| ) |
const |
|
inline |
- Returns
- the elapsed time in seconds between TimerC construction and the first call to TimerC::stop(). When the timer has not been stopped then the time since construction is returned.
◆ getSecondsSinceLastReport()
double GEOM_WOF::TimerC::getSecondsSinceLastReport |
( |
| ) |
|
|
inline |
Returns the elapsed seconds since last report (if none, since construction)
◆ report()
void GEOM_WOF::TimerC::report |
( |
const std::string & |
s | ) |
|
|
inline |
Prints the time since last report (or, if none, since construction). This command is intended to measure successive intervals
◆ stop()
double GEOM_WOF::TimerC::stop |
( |
| ) |
|
|
inline |
- Returns
- the elapsed time since TimerC construction in seconds
The documentation for this class was generated from the following file: