ck_rhs_stat (3) - Linux Manuals

ck_rhs_stat: get hash set status

NAME

ck_rhs_stat - get hash set status

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_rhs.h Ft void Fn ck_rhs_stat ck_rhs_t *hs struct ck_rhs_stat *st

DESCRIPTION

The Fn ck_rhs_stat 3 function will store various hash set statistics in the object pointed to by Fa st . The ck_rhs_stat structure is defined as follows:
struct ck_rhs_stat {
        unsigned long n_entries;    /* Current number of keys in hash set. */
        unsigned int probe_maximum; /* Longest read-side probe sequence. */
};

RETURN VALUES

Fn ck_rhs_stat 3 has no return value.

ERRORS

Behavior is undefined if Fa hs is uninitialized. Behavior is undefined if this function is called by a non-writer thread.

SEE ALSO

ck_rhs_init3, ck_rhs_move3, ck_rhs_destroy3, CK_RHS_HASH3, ck_rhs_iterator_init3, ck_rhs_next3, ck_rhs_get3, ck_rhs_put3, ck_rhs_put_unique3, ck_rhs_set3, ck_rhs_fas3, ck_rhs_remove3, ck_rhs_grow3, ck_rhs_gc3, ck_rhs_rebuild3, ck_rhs_count3, ck_rhs_reset3, ck_rhs_reset_size3

Additional information available at http://concurrencykit.org/