Struct concread::arcache::stats::ReadCountStat
source · pub struct ReadCountStat {
pub read_ops: u64,
pub local_hit: u64,
pub main_hit: u64,
pub include: u64,
pub failed_include: u64,
pub local_include: u64,
}
Expand description
A simple track of counters from the cache
Fields§
§read_ops: u64
The number of attempts to read from the cache
local_hit: u64
The number of cache hits on the thread local cache
main_hit: u64
The number of cache hits on the main cache
include: u64
The number of queued inclusions to the main cache
failed_include: u64
The number of failed inclusions to the main cache
local_include: u64
The number of inclusions to the thread local cache
Trait Implementations§
source§impl ARCacheReadStat for ReadCountStat
impl ARCacheReadStat for ReadCountStat
_
source§fn cache_read(&mut self)
fn cache_read(&mut self)
_
source§fn cache_local_hit(&mut self)
fn cache_local_hit(&mut self)
_
source§fn cache_main_hit(&mut self)
fn cache_main_hit(&mut self)
_
source§fn failed_include(&mut self)
fn failed_include(&mut self)
_
source§fn local_include(&mut self)
fn local_include(&mut self)
_
source§impl Clone for ReadCountStat
impl Clone for ReadCountStat
source§fn clone(&self) -> ReadCountStat
fn clone(&self) -> ReadCountStat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReadCountStat
impl Debug for ReadCountStat
source§impl Default for ReadCountStat
impl Default for ReadCountStat
source§fn default() -> ReadCountStat
fn default() -> ReadCountStat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReadCountStat
impl RefUnwindSafe for ReadCountStat
impl Send for ReadCountStat
impl Sync for ReadCountStat
impl Unpin for ReadCountStat
impl UnwindSafe for ReadCountStat
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