Skip to main content

environment

Function environment 

Source
pub fn environment() -> Environment
Expand description

The benchmark environment, read now. Never fails: each value the OS does not answer is None. Where the OS keeps no load average (Windows), the CPU is sampled for 100 ms to tell whether it is busy, so the call takes that long; elsewhere it costs 0.1 to 1 ms [est.].