lhstats(3) OpenSL lhstats(3)
NAME
lhstats, lhnodestats, lhnodeusagestats, lhstatsbio,
lhnodestatsbio, lhnodeusagestatsbio - LHASH statistics
SYNOPSIS
#include
void lhstats(LHASH *table, FILE *out);
void lhnodestats(LHASH *table, FILE *out);
void lhnodeusagestats(LHASH *table, FILE *out);
void lhstatsbio(LHASH *table, BIO *out);
void lhnodestatsbio(LHASH *table, BIO *out);
void lhnodeusagestatsbio(LHASH *table, BIO *out);
DESCRIPTION
The LHASH structure records statistics about most aspects of accessing
the hash table. This is mostly a legacy of Eric Young writing this
library for the reasons of implementing what looked like a nice algo-
rithm rather than for a particular software product.
lhstats() 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 rou-
tines in this library.
lhnodestats() prints the number of entries for each 'bucket' in the
hash table.
lhnodeusagestats() 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.
lhstatsbio(), lhnodestatsbio() and lhnodeusagestatsbio() 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(3), lhash(3)
HISTORY
These functions are available in all versions of SLeay and OpenSL.
This manpage is derived from the SLeay documentation.
0.9.7l 2000-01-30 lhstats(3)
|