SystemInfo

Type Alias SystemInfo 

Source
pub type SystemInfo = system_info;
Expand description

System information.

Aliased Type§

#[repr(C)]
pub struct SystemInfo { pub clock_monotonicity: u32, pub available_parallelism: usize, pub page_size: usize, }

Fields§

§clock_monotonicity: u32

Supported monotonicity

§available_parallelism: usize

Number of CPUs (hardware threads)

§page_size: usize

Page size

Implementations§

Source§

impl SystemInfo

Source

pub fn clock_monotonicity(&self) -> Monotonicity

Get the monotonicity of the system monotonic clock.