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: u32
Supported monotonicity
available_parallelism: usize
Number of CPUs (hardware threads)
page_size: usize
Page 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.