fn get_cpu_capacity(cpu_id: u32) -> Result<u32, Error>