lh_stats(3) OpenSSL lh_stats(3) NNAAMMEE lh_stats, lh_node_stats, lh_node_usage_stats, lh_stats_bio, lh_node_stats_bio, lh_node_usage_stats_bio - LHASH statistics SSYYNNOOPPSSIISS #include 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); DDEESSCCRRIIPPTTIIOONN The LLHHAASSHH 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. _l_h___s_t_a_t_s_(_) 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. _l_h___n_o_d_e___s_t_a_t_s_(_) prints the number of entries for each 'bucket' in the hash table. _l_h___n_o_d_e___u_s_a_g_e___s_t_a_t_s_(_) 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. _l_h___s_t_a_t_s___b_i_o_(_), _l_h___n_o_d_e___s_t_a_t_s___b_i_o_(_) and _l_h___n_o_d_e___u_s_a_g_e___s_t_a_t_s___b_i_o_(_) are the same as the above, except that the output goes to a BBIIOO. RREETTUURRNN VVAALLUUEESS These functions do not return values. SSEEEE AALLSSOO _b_i_o(3), _l_h_a_s_h(3) HHIISSTTOORRYY These functions are available in all versions of SSLeay and OpenSSL. This manpage is derived from the SSLeay documentation. 1.0.2u 2019-12-20 lh_stats(3)