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