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_tused_head_buckets: size_tentries: size_tchain: qdistoccupancy: qdist

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.