[][src]Trait heim::process::os::windows::MemoryExt

pub trait MemoryExt {
    fn page_faults(&self) -> u32;
fn peak_working_set_size(&self) -> usize;
fn working_set_size(&self) -> usize;
fn quota_peak_paged_pool_usage(&self) -> usize;
fn quota_paged_pool_usage(&self) -> usize;
fn quota_peak_non_paged_pool_usage(&self) -> usize;
fn quota_non_paged_pool_usage(&self) -> usize;
fn pagefile_usage(&self) -> usize;
fn peak_pagefile_usage(&self) -> usize;
fn private_usage(&self) -> usize; }
This is supported on feature="process" only.

Windows-specific extension to process Memory information.

Information here is provided by the PROCESS_MEMORY_COUNTERS_EX struct, see its documentation for details.

Required methods

fn page_faults(&self) -> u32

This is supported on feature="process" only.

Returns the number of page faults.

fn peak_working_set_size(&self) -> usize

This is supported on feature="process" only.

Returns the the peak working set size.

fn working_set_size(&self) -> usize

This is supported on feature="process" only.

Returns the current working set size.

fn quota_peak_paged_pool_usage(&self) -> usize

This is supported on feature="process" only.

Returns the peak paged pool usage.

fn quota_paged_pool_usage(&self) -> usize

This is supported on feature="process" only.

Returns the current paged pool usage.

fn quota_peak_non_paged_pool_usage(&self) -> usize

This is supported on feature="process" only.

Returns the peak nonpaged pool usage.

fn quota_non_paged_pool_usage(&self) -> usize

This is supported on feature="process" only.

Returns the current nonpaged pool usage.

fn pagefile_usage(&self) -> usize

This is supported on feature="process" only.

Returns the Commit Charge value in bytes.

Commit Charge is the total amount of memory that the memory manager has committed for a running process.

fn peak_pagefile_usage(&self) -> usize

This is supported on feature="process" only.

Returns the peak value in bytes of the Commit Charge during the lifetime of this process.

fn private_usage(&self) -> usize

This is supported on feature="process" only.

Same as pagefile_usage.

The Commit Charge value in bytes for this process. Commit Charge is the total amount of memory that the memory manager has committed for a running process.

Loading content...

Implementors

Loading content...