host_capacity

Function host_capacity 

Source
pub fn host_capacity() -> (u32, u32, u32)
Expand description

Host capacity triple (cpus, llcs, max_cpus_per_llc) used to filter gauntlet topology presets against what the host can actually schedule. Both dispatch::list_tests_* (gauntlet variant filter) and dispatch::list_verifier_cells_all (verifier sweep filter) share this single source of truth so the two filters never drift. Reads available_parallelism() for CPU count + HostTopology::from_sysfs() for LLC layout; falls back to single-LLC + single-cpu-per-llc when sysfs is unavailable.