71 uint32_t
Rate(uint32_t rate);
Dwm::TimeValue class definition.
This class permits throttling of functions to a max number of repetitions per second.
Definition DwmPacer.hh:56
uint32_t Rate() const
Returns the rate (reps per second).
void Pace()
This should be called between each call you wish to throttle.
Pacer(uint32_t rate)
Construct with the given rate (reps per second).
uint32_t Rate(uint32_t rate)
Sets the rate (reps per second).
This class encapsulates a time value beyond the UNIX epoch, with microsecond granularity.
Definition DwmTimeValue.hh:68