"Fossies" - the Fresh Open Source Software Archive

Member "libressl-2.9.2/man/lh_stats.3" (4 Dec 2018, 8259 Bytes) of package /linux/misc/libressl-2.9.2.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even errorneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

LH_STATS(3) BSD Library Functions Manual LH_STATS(3)

NAME

lh_stats, lh_node_stats, lh_node_usage_stats, lh_stats_bio, lh_node_stats_bio, lh_node_usage_stats_bio — LHASH statistics

SYNOPSIS

#include <openssl/lhash.h>

void

lh_stats(LHASH *table, FILE *out);

void

lh_node_stats(LHASH *table, FILE *out);

void

lh_node_usage_stats(LHASH *table, FILE *out);

void

lh_stats_bio(LHASH *table, BIO *out);

void

lh_node_stats_bio(LHASH *table, BIO *out);

void

lh_node_usage_stats_bio(LHASH *table, BIO *out);

DESCRIPTION

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

lh_stats() 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.

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

lh_node_usage_stats() 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.

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

RETURN VALUES

These functions do not return values.

SEE ALSO

BIO_new(3), lh_new(3)

HISTORY

lh_stats(), lh_node_stats(), lh_node_usage_stats() appeared in SSLeay 0.4. lh_stats_bio(), lh_node_stats_bio(), and lh_node_usage_stats_bio() first appeared in SSLeay 0.6.0. These functions have been available since OpenBSD 2.4.

AUTHORS

Eric Young

BSD March 27, 2018 BSD