ck_ht_stat(3) get hash table status

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_ht.h Ft void Fn ck_ht_stat ck_ht_t *ht struct ck_ht_stat *st

DESCRIPTION

The Fn ck_ht_stat 3 function will store various hash set statistics in the object pointed to by Fa 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

Fn ck_ht_stat 3 has no return value.

ERRORS

Behavior is undefined if Fa ht has not been initialized.