62 return static_cast<double>(last_ - start_);
68 const auto prev(last_);
70 return static_cast<double>(last_ - prev);
double elapsedTime() const
The time [seconds] since the start point.
Access to high-resolution clock value with some basic operations. Used to calculate time durations...
void resetTime()
Reset to use the current clock value for the start and increment points.
clockTime()
Construct with the current clock value for the start point.
double timeIncrement() const
The time [seconds] since the last call to elapsedTime(), timeIncrement() or resetTime(), resetTimeIncrement()
void resetTimeIncrement() const
Reset to use the current clock value for the increment point.