pub struct CachePreheatingStats {
pub preheat_attempts: u64,
pub preheat_successes: u64,
pub preheat_hit_rate: f64,
pub entries_preheated: u64,
pub preheated_entries_accessed: u64,
pub avg_prediction_confidence: f64,
pub time_saved_ms: u64,
pub cpu_time_used_ms: u64,
}Expand description
Predictive preheating statistics (cache level)
Fields§
§preheat_attempts: u64Total preheating attempts
preheat_successes: u64Successful preheating operations
preheat_hit_rate: f64Preheating hit rate (preheated entries that were accessed)
entries_preheated: u64Total entries preheated
preheated_entries_accessed: u64Entries preheated that were actually accessed
avg_prediction_confidence: f64Average prediction confidence
time_saved_ms: u64Time saved by preheating (in milliseconds)
cpu_time_used_ms: u64CPU time used for preheating (in milliseconds)
Trait Implementations§
Source§impl Clone for CachePreheatingStats
impl Clone for CachePreheatingStats
Source§fn clone(&self) -> CachePreheatingStats
fn clone(&self) -> CachePreheatingStats
Returns a duplicate 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 CachePreheatingStats
impl Debug for CachePreheatingStats
Source§impl Default for CachePreheatingStats
impl Default for CachePreheatingStats
Source§impl<'de> Deserialize<'de> for CachePreheatingStats
impl<'de> Deserialize<'de> for CachePreheatingStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CachePreheatingStats
impl RefUnwindSafe for CachePreheatingStats
impl Send for CachePreheatingStats
impl Sync for CachePreheatingStats
impl Unpin for CachePreheatingStats
impl UnsafeUnpin for CachePreheatingStats
impl UnwindSafe for CachePreheatingStats
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