Skip to main content

SIMULATED_CLOCK_VARIABLE

Constant SIMULATED_CLOCK_VARIABLE 

Source
pub const SIMULATED_CLOCK_VARIABLE: &str = "OTG_SIMULATED_CLOCK";
Expand description

The variable that puts a process of this build on a simulated clock.

Its value is <address>/<client>: a test’s coordinator’s loopback address and the process’s 0-based client number. Unset or empty, the process runs on system_clock. It does not begin ONETASKGRAPH_, so the configuration’s environment layer never reads it as a setting. Named here, beside the clock it selects, so the binary that reads it and the test harness that hands it out spell it once between them.