ck_ht_stat3
Get hash table status
Usage
#include <ck_ht.h>
void
ck_ht_stat(ck_ht_t *ht, struct ck_ht_stat *st);
Library
Concurrency Kit (libck, -lck)
Overview
The ck_ht_stat(3) function will store various hash set statistics in the object pointed to by st. The ck_ht_stat structure is defined as follows:
struct ck_ht_stat {
uint64_t probe_maximum; /* Longest read-side probe sequence. */
uint64_t n_entries; /* Current number of keys in hash set. */
};
Return values
ck_ht_stat(3) has no return value.
Errors
Behavior is undefined if ht has not been initialized.
Releases
Unchanged in 5 releases since Debian 8 (Jessie).