heim_process::os::linux

Trait MemoryExt

Source
pub trait MemoryExt {
    // Required methods
    fn shared(&self) -> Information;
    fn text(&self) -> Information;
    fn data(&self) -> Information;
}
Expand description

Linux-specific extension to process Memory information.

Required Methods§

Source

fn shared(&self) -> Information

Returns the amount of memory that could be potentially shared with other processes.

Source

fn text(&self) -> Information

Returns TRS (text resident set) - the amount of memory devoted to executable code.

Source

fn data(&self) -> Information

Returns DRS (data resident set) - the amount of physical memory devoted to other than executable code.

Implementors§