let mut idle_cpu_count = 0; // Count the number of cores where all the CPUs are idle. for (_, core) in self.topo.cores().iter() { for core in self.topo.cores().iter() { let mut all_idle = true; for (cpu_id, _) in core.cpus().iter() { if self.bpf.get_cpu_pid(...