gz/math/Stopwatch.hh
bool operator!=(const Stopwatch &_watch) const
Inequality operator.
Definition: gz/math/AdditivelySeparableScalarField3.hh:27
bool operator==(const Stopwatch &_watch) const
Equality operator.
clock::duration ElapsedRunTime() const
Get the amount of time that the stop watch has been running. This is the total amount of run time,...
void Reset()
Reset the stopwatch. This resets the start time, stop time, elapsed duration and elapsed stop duratio...
The Stopwatch keeps track of time spent in the run state, accessed through ElapsedRunTime(),...
Definition: gz/math/Stopwatch.hh:61
Stopwatch & operator=(const Stopwatch &_watch)
Copy assignment operator.
clock::duration ElapsedStopTime() const
Get the amount of time that the stop watch has been stopped. This is the total amount of stop time,...
clock::time_point StopTime() const
Get the time when the stopwatch was last stopped.
clock::time_point StartTime() const
Get the time when the stopwatch was started.