pub struct Stats {
pub n_addrs: u64,
pub pdb_downloaded: HashMap<PdbId, u64>,
pub pe_downloaded: HashMap<PeId, u64>,
pub cache_hit: u64,
}Expand description
Various statistics that the symbolizer keeps track of.
Fields§
§n_addrs: u64The number of addresses symbolized.
pdb_downloaded: HashMap<PdbId, u64>The PDB identifiers that have been downloaded & the associated file size in bytes.
pe_downloaded: HashMap<PeId, u64>The PE identifiers that have been downloaded & the associated file size in bytes.
cache_hit: u64The number of time the address cache was a hit.
Implementations§
Source§impl Stats
impl Stats
pub fn did_download_pdb(&self, pdb_id: &PdbId) -> bool
pub fn did_download_pe(&self, pe_id: &PeId) -> bool
pub fn amount_downloaded(&self) -> u64
pub fn pdb_download_count(&self) -> usize
pub fn pe_download_count(&self) -> usize
pub fn downloaded_pdb(&mut self, pdb_id: PdbId, size: u64)
pub fn downloaded_pe(&mut self, pe_id: PeId, size: u64)
pub fn addr_symbolized(&mut self)
pub fn cache_hit(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more