KTSTR_CPU_CAP_ENV

Constant KTSTR_CPU_CAP_ENV 

Source
pub const KTSTR_CPU_CAP_ENV: &str = "KTSTR_CPU_CAP";
Expand description

Name of the environment variable that caps the host CPU count the scenario engine sees, for testing scaling logic without a real CPU narrowing. Read at crate::vmm::host_topology and set by the --cpu-cap CLI flag in the bin entry points. Empty falls back to the host’s actual CPU count; non-empty numeric value caps the observed count.