Struct concread::arcache::CacheStatsDiff
source · [−]pub struct CacheStatsDiff {Show 19 fields
pub reader_ops: u64,
pub reader_hits: u64,
pub reader_hit_pct: f64,
pub reader_tlocal_hits: u64,
pub reader_tlocal_includes: u64,
pub reader_includes: u64,
pub reader_failed_includes: u64,
pub write_read_ops: u64,
pub write_hits: u64,
pub writer_read_hit_pct: f64,
pub write_includes: u64,
pub write_modifies: u64,
pub total_ops: u64,
pub total_hits: u64,
pub total_hit_pct: f64,
pub freq_evicts: u64,
pub recent_evicts: u64,
pub p_weight: i64,
pub shared_max: u64,
}
Expand description
Change between two points in time of the usage of the arc.
Fields
reader_ops: u64
The number of attempts to read from the cache since previous.
reader_hits: u64
The number of hits against the cache as a reader.
reader_hit_pct: f64
The percentage hit rate of all accesses to readers. Inverse, the miss rate is
100.0 - reader_hit_pct
.
reader_tlocal_hits: u64
The number of hits during all read operations on the thread local caches. If
reader_tlocal_includes: u64
The number of inclusions to the thread local storage.
reader_includes: u64
The number of successful async main cache inclusions through read operations.
reader_failed_includes: u64
The number of failed async main cache inclusions through read operations.
write_read_ops: u64
The number of attempts to read from the write cache
write_hits: u64
The number of read cache hits during all write operations.
writer_read_hit_pct: f64
The percentage hit rate of all accesses to writers. Inverse, the miss rate is
1.0 - writer_read_hit_pct
.
write_includes: u64
The number of inclusions through write operations. This does NOT track updates to the main cache, where the updates may change the value.
write_modifies: u64
The number of modifications to the cache content during a write. This does NOT track inclusions, where includes add a new value.
total_ops: u64
The total number of read operations over all transaction types
total_hits: u64
The total number of hits against any cache over all transaction types.
total_hit_pct: f64
The percentage hit rate of all accesses to the cache. Inverse, the miss rate is
1.0 - total_hit_pct
.
freq_evicts: u64
The number of items evicted from the frequent set over all time.
recent_evicts: u64
The number of items evicted from the recent set over all time.
p_weight: i64
The change in cache weight between recent and frequent. Trending toward 0 (negative) means demand on recent sets, while increase implies demand on frequent causes a trend to more positive numbers (positive)
The maximum number of items in the shared cache.
Trait Implementations
sourceimpl Clone for CacheStatsDiff
impl Clone for CacheStatsDiff
sourcefn clone(&self) -> CacheStatsDiff
fn clone(&self) -> CacheStatsDiff
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for CacheStatsDiff
impl Send for CacheStatsDiff
impl Sync for CacheStatsDiff
impl Unpin for CacheStatsDiff
impl UnwindSafe for CacheStatsDiff
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more