extern struct system_info [src]

Alias for std.c.haiku.system_info

Fields

boot_time: i64
cpu_count: u32
max_pages: u64
used_pages: u64
cached_pages: u64
block_cache_pages: u64
ignored_pages: u64
needed_memory: u64
free_memory: u64
max_swap_pages: u64
free_swap_pages: u64
page_faults: u32
max_sems: u32
used_sems: u32
max_ports: u32
used_ports: u32
max_threads: u32
used_threads: u32
max_teams: u32
used_teams: u32
kernel_name: [256]u8
kernel_build_date: [32]u8
kernel_build_time: [32]u8
kernel_version: i64
abi: u32

Source

pub const system_info = extern struct { boot_time: i64, cpu_count: u32, max_pages: u64, used_pages: u64, cached_pages: u64, block_cache_pages: u64, ignored_pages: u64, needed_memory: u64, free_memory: u64, max_swap_pages: u64, free_swap_pages: u64, page_faults: u32, max_sems: u32, used_sems: u32, max_ports: u32, used_ports: u32, max_threads: u32, used_threads: u32, max_teams: u32, used_teams: u32, kernel_name: [256]u8, kernel_build_date: [32]u8, kernel_build_time: [32]u8, kernel_version: i64, abi: u32, }