[−][src]Trait sysinfo::ProcessorExt
Contains all the methods of the Processor
struct.
Required methods
fn get_cpu_usage(&self) -> f32
Returns this processor's usage.
Note: You'll need to refresh it at least twice at first if you want to have a non-zero value.
fn get_name(&self) -> &str
Returns this processor's name.