cargo_test_support

Function slow_cpu_multiplier

source
pub fn slow_cpu_multiplier(main: u64) -> Duration
Expand description

Some CI setups are much slower then the equipment used by Cargo itself. Architectures that do not have a modern processor, hardware emulation, etc. This provides a way for those setups to increase the cut off for all the time based test.