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)

shared_max: u64

The maximum number of items in the shared cache.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.