OpenBSD manual page server

Manual Page Search Parameters

LH_STATS(3) Library Functions Manual LH_STATS(3)

lh_stats, lh_node_stats, lh_node_usage_stats, lh_stats_bio, lh_node_stats_bio, lh_node_usage_stats_bioLHASH statistics

#include <openssl/lhash.h>

lh_stats(LHASH *table, FILE *out);

lh_node_stats(LHASH *table, FILE *out);

lh_node_usage_stats(LHASH *table, FILE *out);

lh_stats_bio(LHASH *table, BIO *out);

lh_node_stats_bio(LHASH *table, BIO *out);

lh_node_usage_stats_bio(LHASH *table, BIO *out);

The LHASH structure records statistics about most aspects of accessing the hash table.

() prints out statistics on the size of the hash table, how many entries are in it, and the number and result of calls to the routines in this library.

() prints the number of entries for each 'bucket' in the hash table.

() prints out a short summary of the state of the hash table. It prints the 'load' and the 'actual load'. The load is the average number of data items per 'bucket' in the hash table. The 'actual load' is the average number of items per 'bucket', but only for buckets which contain entries. So the 'actual load' is the average number of searches that will need to find an item in the hash table, while the 'load' is the average number that will be done to record a miss.

(), (), and () are the same as the above, except that the output goes to a BIO.

These functions do not return values.

BIO_new(3), lh_new(3)

These functions are available in all versions of SSLeay and OpenSSL.

Eric Young

December 6, 2016 OpenBSD-6.1