heim-memory 0.0.11

Cross-platform memory information
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod bindings;
mod memory;
mod swap;

lazy_static::lazy_static! {
    static ref PAGE_SIZE: u64 = {
        unsafe {
            libc::sysconf(libc::_SC_PAGESIZE) as u64
        }
    };
}

pub use self::memory::*;
pub use self::swap::*;