pub fn monitor_loop( sched: &mut Scheduler<'_>, shutdown: &'static AtomicBool, verbose: bool, nr_cpus: u64, ) -> Result<bool>