Struct linux_perf_data::NrCpus
source · pub struct NrCpus {
pub nr_cpus_available: u32,
pub nr_cpus_online: u32,
}
Expand description
The number of available and online CPUs. (nr_cpus
)
Fields§
§nr_cpus_available: u32
CPUs not yet onlined
nr_cpus_online: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NrCpus
impl Send for NrCpus
impl Sync for NrCpus
impl Unpin for NrCpus
impl UnwindSafe for NrCpus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more