twizzler_rt_abi::info

Type Alias SystemInfo

source
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

source

pub fn clock_monotonicity(&self) -> Monotonicity

Get the monotonicity of the system monotonic clock.