Sets the simulated time to the argument. 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
SetTime(absl::Time t);

Return Value

The number of woken threads.

Parameters

Name

Description

t

The new simulated time.

Created with MrDocs