Class to help run loops at a desired frequency. This version always uses wall-clock time. More...
|WallDuration||cycleTime () const|
|Get the actual run time of a cycle from start to sleep. More...|
|WallDuration||expectedCycleTime () const|
|Get the expected cycle time – one over the frequency passed in to the constructor. More...|
|Sets the start time for the rate to now. More...|
|Sleeps for any leftover time in a cycle. Calculated from the last time sleep, reset, or the constructor was called. More...|
|WallRate (const Duration &)|
|WallRate (double frequency)|
|Constructor, creates a Rate. More...|
Class to help run loops at a desired frequency. This version always uses wall-clock time.