Skip to main content

Module clock

Module clock 

Source
Expand description

Virtual clock owned by the harness.

Agents read time and sleep only through this clock, never through std::time. The clock only advances when a test advances it, so a whole scenario moves in virtual time.

Structsยง

Clock
A logical clock measured in whole milliseconds of virtual time.