Skip to main content

active_cpu_set

Function active_cpu_set 

Source
pub fn active_cpu_set() -> Result<CpuSet, TaskError>
Expand description

Returns the CPUs that currently accept runnable placement.

Unlike cpu_topology_len, this snapshot excludes possible CPUs that have not completed scheduler online publication or no longer accept new work.