1lh_stats(3)                         OpenSSL                        lh_stats(3)
2
3
4

NAME

6       lh_stats, lh_node_stats, lh_node_usage_stats, lh_stats_bio,
7       lh_node_stats_bio, lh_node_usage_stats_bio - LHASH statistics
8

SYNOPSIS

10        #include <openssl/lhash.h>
11
12        void lh_stats(LHASH *table, FILE *out);
13        void lh_node_stats(LHASH *table, FILE *out);
14        void lh_node_usage_stats(LHASH *table, FILE *out);
15
16        void lh_stats_bio(LHASH *table, BIO *out);
17        void lh_node_stats_bio(LHASH *table, BIO *out);
18        void lh_node_usage_stats_bio(LHASH *table, BIO *out);
19

DESCRIPTION

21       The LHASH structure records statistics about most aspects of accessing
22       the hash table.  This is mostly a legacy of Eric Young writing this
23       library for the reasons of implementing what looked like a nice
24       algorithm rather than for a particular software product.
25
26       lh_stats() prints out statistics on the size of the hash table, how
27       many entries are in it, and the number and result of calls to the
28       routines in this library.
29
30       lh_node_stats() prints the number of entries for each 'bucket' in the
31       hash table.
32
33       lh_node_usage_stats() prints out a short summary of the state of the
34       hash table.  It prints the 'load' and the 'actual load'.  The load is
35       the average number of data items per 'bucket' in the hash table.  The
36       'actual load' is the average number of items per 'bucket', but only for
37       buckets which contain entries.  So the 'actual load' is the average
38       number of searches that will need to find an item in the hash table,
39       while the 'load' is the average number that will be done to record a
40       miss.
41
42       lh_stats_bio(), lh_node_stats_bio() and lh_node_usage_stats_bio() are
43       the same as the above, except that the output goes to a BIO.
44

RETURN VALUES

46       These functions do not return values.
47

SEE ALSO

49       bio(3), lhash(3)
50

HISTORY

52       These functions are available in all versions of SSLeay and OpenSSL.
53
54       This manpage is derived from the SSLeay documentation.
55
56
57
581.0.2o                            2018-03-27                       lh_stats(3)
Impressum