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§
Returns the amount of memory that could be potentially shared with other processes.
Sourcefn text(&self) -> Information
fn text(&self) -> Information
Returns TRS (text resident set) - the amount of memory devoted to executable code.
Sourcefn data(&self) -> Information
fn data(&self) -> Information
Returns DRS (data resident set) - the amount of physical memory devoted to other than executable code.