Function panda_sys::qht_statistics_init
source · pub unsafe extern "C" fn qht_statistics_init(
ht: *mut qht,
stats: *mut qht_stats
)
Expand description
qht_statistics_init - Gather statistics from a QHT @ht: QHT to gather statistics from @stats: pointer to a struct qht_stats to be filled in
Does NOT need to be called under an RCU read-critical section, since it does not dereference any pointers stored in the hash table.
When done with @stats, pass the struct to qht_statistics_destroy(). Failing to do this will leak memory.