Struct panda_sys::qht_stats [−][src]
#[repr(C)]pub struct qht_stats { pub head_buckets: size_t, pub used_head_buckets: size_t, pub entries: size_t, pub chain: qdist, pub occupancy: qdist, }
Expand description
struct qht_stats - Statistics of a QHT @head_buckets: number of head buckets @used_head_buckets: number of non-empty head buckets @entries: total number of entries @chain: frequency distribution representing the number of buckets in each chain, excluding empty chains. @occupancy: frequency distribution representing chain occupancy rate. Valid range: from 0.0 (empty) to 1.0 (full occupancy).
An entry is a pointer-hash pair. Each bucket can host several entries. Chains are chains of buckets, whose first link is always a head bucket.
Fields
head_buckets: size_t
used_head_buckets: size_t
entries: size_t
chain: qdist
occupancy: qdist
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for qht_stats
impl UnwindSafe for qht_stats
Blanket Implementations
Mutably borrows from an owned value. Read more