pub type SystemInfo = system_info;Expand description
System information.
Aliased Type§
struct SystemInfo {
pub clock_monotonicity: u32,
pub available_parallelism: usize,
pub page_size: usize,
}Fields§
§clock_monotonicity: u32Supported monotonicity
available_parallelism: usizeNumber of CPUs (hardware threads)
page_size: usizePage size
Implementations§
Source§impl SystemInfo
impl SystemInfo
Sourcepub fn clock_monotonicity(&self) -> Monotonicity
pub fn clock_monotonicity(&self) -> Monotonicity
Get the monotonicity of the system monotonic clock.