Skip to main content

busy_percent

Function busy_percent 

Source
pub fn busy_percent(id: usize) -> u8
Expand description

Integer percentage (0-100) of cycles_since_boot() that task id has spent running. 0 before the preemptive tier starts or if the task hasn’t been dispatched yet.