Return the time point advanced by a uniform random duration.
Synopsis
Declared in <random.h>
template<typename Tp>
Tp
rand_uniform_delay(
Tp const& time,
Tp::duration range) noexcept;
Return Value
time advanced by a uniform random duration in [0, range).]
Parameters
Name |
Description |
time |
The base time point. |
range |
The width of the uniform delay applied to |
Created with MrDocs