Lines Matching refs:stats
19 /* Id: stats.h,v 1.4.2.2 2009/01/29 23:47:44 tbox Exp */
24 /*! \file isc/stats.h */
58 isc_stats_attach(isc_stats_t *stats, isc_stats_t **statsp);
63 *\li 'stats' is a valid isc_stats_t.
78 isc_stats_ncounters(isc_stats_t *stats);
80 * Returns the number of counters contained in stats.
83 *\li 'stats' is a valid isc_stats_t.
88 isc_stats_increment(isc_stats_t *stats, isc_statscounter_t counter);
90 * Increment the counter-th counter of stats.
93 *\li 'stats' is a valid isc_stats_t.
95 *\li counter is less than the maximum available ID for the stats specified
100 isc_stats_decrement(isc_stats_t *stats, isc_statscounter_t counter);
102 * Decrement the counter-th counter of stats.
105 *\li 'stats' is a valid isc_stats_t.
109 isc_stats_dump(isc_stats_t *stats, isc_stats_dumper_t dump_fn, void *arg,
113 * in stats, dump_fn is called with its current value and the given argument
118 *\li 'stats' is a valid isc_stats_t.