1 2 3 4 5 6 7 8 9
use heim_common::prelude::*; use heim_cpu as cpu; #[heim_derive::main] async fn main() -> Result<()> { dbg!(cpu::stats().await?); Ok(()) }