#include <Stopwatch.h>
List of all members.
[inline]
The elapsed cycle time between tick and tock.
An attempt is made to factor out all tick/tock overhead, so that back-to-back calls should return zero. Unreliable on non-x86 platforms.
Amount of time between the most recent tick and tock calls.
0 if tick has never been called.
Returns the number of times that tick was called per wall-clock second; e.g.
frames-per-second.
Time-smoothed value that is stable to the nearest 1%.
This is useful if you are displaying elapsed time in real-time and want a stable number.
Time-smoothed value of fps that is stable to the nearest integer for fps > 10 and to the first decimal place for fps <= 10.
This is useful if you are displaying the frame rate in real-time and want a stable (readable) number.
Call at the beginning of the period that you want timed.
Call at the end of the period that you want timed.