Go to the documentation of this file.
25 long double y = time -
c_;
26 long double x =
sum_ + y;
long double getElapsedTime() const
Alias of Timer::getElapsedTimeInSec.
bool running() const
Get running status of the timer.
long double getTotalTime() const
Get the total elapsed time since the first start.Stops the current iteration when running.
long double getAverageLoopTime()
Get average time per loop iteration. Stops the current iteration when running.
void reset()
Stop the timer and reset all counters to zero.
long unsigned int counts_
loop counter
long double getTotalLoopTime()
Get total elapsed time during the loops. Stops the current iteration when running.
double getLoopUsagePercentage()
Get average percentage of total time used by the loop.
long double sum_
Sum so far.
long double c_
Compensation for lost low-order bits.