Struct self_meter::ThreadUsage
[−]
[src]
pub struct ThreadUsage { pub cpu_usage: f32, pub cpu_usage_with_children: f32, }
CPU usage of a single thread
Fields
cpu_usage: f32
Thread's own CPU usage. 100% is a single core
cpu_usage_with_children: f32
Thread's CPU usage with its awaited children. 100% is a single core