5 struct llist_head list;
7 const char *description;
11 static inline void osmo_counter_inc(struct osmo_counter *ctr)
16 static inline unsigned long osmo_counter_get(struct osmo_counter *ctr)
21 static inline void osmo_counter_reset(struct osmo_counter *ctr)
26 struct osmo_counter *osmo_counter_alloc(const char *name);
27 void osmo_counter_free(struct osmo_counter *ctr);
29 int osmo_counters_for_each(int (*handle_counter)(struct osmo_counter *, void *), void *data);
31 struct osmo_counter *osmo_counter_get_by_name(const char *name);
33 #endif /* _STATISTICS_H */