Lines Matching refs:stats
25 * stats.c -- simple stats tracking table module
27 * this version of stats.c links with eft and implements the
28 * stats using the fmd's stats API.
35 #include "stats.h"
43 static int Ext; /* true if extended stats are enabled */
46 * stats_init -- initialize the stats module
61 static struct stats *
64 struct stats *ret = MALLOC(sizeof (*ret));
107 stats_delete(struct stats *sp)
116 struct stats *
120 return (NULL); /* extended stats not enabled */
126 stats_counter_bump(struct stats *sp)
137 stats_counter_add(struct stats *sp, int n)
148 stats_counter_reset(struct stats *sp)
159 stats_counter_value(struct stats *sp)
169 struct stats *
173 return (NULL); /* extended stats not enabled */
179 stats_elapse_start(struct stats *sp)
190 stats_elapse_stop(struct stats *sp)
201 struct stats *
204 struct stats *r;
207 return (NULL); /* extended stats not enabled */
214 stats_string_set(struct stats *sp, const char *s)
227 * stats_publish -- spew all stats