pub struct SmapsEntry {Show 15 fields
pub path: Option<String>,
pub size_kb: Option<u64>,
pub private_dirty_kb: Option<u64>,
pub swap_kb: Option<u64>,
pub file_name: Option<String>,
pub start_address: Option<u64>,
pub module_timestamp: Option<u64>,
pub module_debugid: Option<String>,
pub module_debug_path: Option<String>,
pub protection_flags: Option<u32>,
pub private_clean_resident_kb: Option<u64>,
pub shared_dirty_resident_kb: Option<u64>,
pub shared_clean_resident_kb: Option<u64>,
pub locked_kb: Option<u64>,
pub proportional_resident_kb: Option<u64>,
}Fields§
§path: Option<String>§size_kb: Option<u64>§private_dirty_kb: Option<u64>§swap_kb: Option<u64>§file_name: Option<String>for field upload (instead of path).
start_address: Option<u64>Fields below added and used only for Chromium memory infra, see crbug.com/1098746.
module_timestamp: Option<u64>§module_debugid: Option<String>§module_debug_path: Option<String>§protection_flags: Option<u32>§private_clean_resident_kb: Option<u64>§locked_kb: Option<u64>§proportional_resident_kb: Option<u64>Implementations§
Source§impl SmapsEntry
impl SmapsEntry
Sourcepub fn size_kb(&self) -> u64
pub fn size_kb(&self) -> u64
Returns the value of size_kb, or the default value if size_kb is unset.
Sourcepub fn private_dirty_kb(&self) -> u64
pub fn private_dirty_kb(&self) -> u64
Returns the value of private_dirty_kb, or the default value if private_dirty_kb is unset.
Sourcepub fn swap_kb(&self) -> u64
pub fn swap_kb(&self) -> u64
Returns the value of swap_kb, or the default value if swap_kb is unset.
Sourcepub fn file_name(&self) -> &str
pub fn file_name(&self) -> &str
Returns the value of file_name, or the default value if file_name is unset.
Sourcepub fn start_address(&self) -> u64
pub fn start_address(&self) -> u64
Returns the value of start_address, or the default value if start_address is unset.
Sourcepub fn module_timestamp(&self) -> u64
pub fn module_timestamp(&self) -> u64
Returns the value of module_timestamp, or the default value if module_timestamp is unset.
Sourcepub fn module_debugid(&self) -> &str
pub fn module_debugid(&self) -> &str
Returns the value of module_debugid, or the default value if module_debugid is unset.
Sourcepub fn module_debug_path(&self) -> &str
pub fn module_debug_path(&self) -> &str
Returns the value of module_debug_path, or the default value if module_debug_path is unset.
Sourcepub fn protection_flags(&self) -> u32
pub fn protection_flags(&self) -> u32
Returns the value of protection_flags, or the default value if protection_flags is unset.
Sourcepub fn private_clean_resident_kb(&self) -> u64
pub fn private_clean_resident_kb(&self) -> u64
Returns the value of private_clean_resident_kb, or the default value if private_clean_resident_kb is unset.
Returns the value of shared_dirty_resident_kb, or the default value if shared_dirty_resident_kb is unset.
Returns the value of shared_clean_resident_kb, or the default value if shared_clean_resident_kb is unset.
Sourcepub fn locked_kb(&self) -> u64
pub fn locked_kb(&self) -> u64
Returns the value of locked_kb, or the default value if locked_kb is unset.
Sourcepub fn proportional_resident_kb(&self) -> u64
pub fn proportional_resident_kb(&self) -> u64
Returns the value of proportional_resident_kb, or the default value if proportional_resident_kb is unset.
Trait Implementations§
Source§impl Clone for SmapsEntry
impl Clone for SmapsEntry
Source§fn clone(&self) -> SmapsEntry
fn clone(&self) -> SmapsEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SmapsEntry
impl Debug for SmapsEntry
Source§impl Default for SmapsEntry
impl Default for SmapsEntry
Source§impl Hash for SmapsEntry
impl Hash for SmapsEntry
Source§impl Message for SmapsEntry
impl Message for SmapsEntry
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for SmapsEntry
impl PartialEq for SmapsEntry
Source§fn eq(&self, other: &SmapsEntry) -> bool
fn eq(&self, other: &SmapsEntry) -> bool
self and other values to be equal, and is used by ==.