Advances the simulated time by the specified duration. Wakes up any threads whose sleeps have now expired. Returns the number of woken threads.
Synopsis
Declared in <absl/time/simulated_clock.h>
int64_t
AdvanceTime(absl::Duration d);
Return Value
The number of woken threads.
Parameters
Name |
Description |
d |
The duration to advance the simulated time by. |
Created with MrDocs