Lines Matching refs:stats
42 struct stats *stats_new_counter(const char *name, const char *desc, int ext);
43 void stats_delete(struct stats *sp);
44 void stats_counter_bump(struct stats *sp);
45 void stats_counter_add(struct stats *sp, int n);
46 void stats_counter_reset(struct stats *sp);
47 int stats_counter_value(struct stats *sp);
48 struct stats *stats_new_elapse(const char *name, const char *desc, int ext);
49 void stats_elapse_start(struct stats *sp);
50 void stats_elapse_stop(struct stats *sp);
51 struct stats *stats_new_string(const char *name, const char *desc, int ext);
52 void stats_string_set(struct stats *sp, const char *s);