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>
TODO(crbug.com/1098746): Consider encoding this as incremental values.
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 · 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 Message for SmapsEntry
impl Message for SmapsEntry
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.