Struct self_meter::ThreadReport
[−]
[src]
pub struct ThreadReport {
pub cpu_usage: f32,
pub system_cpu: f32,
pub user_cpu: f32,
}Report of CPU usage by single thread
Fields
cpu_usage: f32
Threads' own CPU usage. 100% is a single core
system_cpu: f32
Threads' own CPU usage in kernel space. 100% is a single core
user_cpu: f32
Threads' own CPU usage in user space. 100% is a single core