This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



lh_stats(3)                                        OpenSSL                                       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.  This is
       mostly a legacy of Eric Young writing this library for the reasons of implementing what looked like a
       nice algorithm rather than for a particular software product.

       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(3), lhash(3)

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

       This manpage is derived from the SSLeay documentation.



0.9.8                                            2009-04-03                                      lh_stats(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the OpenSSL project by sending email to [email protected].
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the OpenSSL project by sending email to [email protected].
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.