MirBSD manpage: lh_node_stats(3), lh_node_stats_bio(3), lh_node_usage_stats(3), lh_node_usage_stats_bio(3), lh_stats(3), lh_stats_bio(3)

LH_STATS(3)                  OpenSSL                  LH_STATS(3)


     lh_stats, lh_node_stats, lh_node_usage_stats, lh_stats_bio,
     lh_node_stats_bio, lh_node_usage_stats_bio - LHASH statis-


      #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);


     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 particu-
     lar 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.


     These functions do not return values.


     bio(3), lhash(3)


     These functions are available in all versions of SSLeay and

MirBSD #10-current         2005-02-05                           1

LH_STATS(3)                  OpenSSL                  LH_STATS(3)


     This manpage is derived from the SSLeay documentation.

MirBSD #10-current         2005-02-05                           2

Generated on 2022-12-24 01:00:14 by $MirOS: src/scripts/roff2htm,v 1.113 2022/12/21 23:14:31 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2022 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.

Kontakt / Impressum & Datenschutzerklärung