MCPcopy Create free account
hub / github.com/Firstyear/opensuse-proxy-cache / TraceStat

Class TraceStat

arc-disk-cache/src/lib.rs:62–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61#[derive(Debug, Default)]
62pub struct TraceStat {
63 /// The current cache weight between recent and frequent.
64 pub p_weight: u64,
65
66 /// The maximum number of items in the shared cache.
67 pub shared_max: u64,
68 /// The number of items in the frequent set at this point in time.
69 pub freq: u64,
70 /// The number of items in the recent set at this point in time.
71 pub recent: u64,
72
73 /// The number of total keys seen through the cache's lifetime.
74 pub all_seen_keys: u64,
75}
76
77impl<K> ARCacheWriteStat<K> for TraceStat
78where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected