11 #ifndef FIRM_STATEVENT_H 12 #define FIRM_STATEVENT_H 42 FIRM_API
void stat_ev_dbl(
const char *name,
double value);
44 FIRM_API
void stat_ev_int(
const char *name,
int value);
46 FIRM_API
void stat_ev_ull(
const char *name,
unsigned long long value);
48 FIRM_API
void stat_ev(
const char *name);
61 FIRM_API
void stat_ev_begin(
const char *filename_prefix,
const char *filter);
void stat_ev_end(void)
Shuts down stat ev machinery.
void stat_ev_ull(const char *name, unsigned long long value)
Emits a statistic event with an unsigned long long value.
void stat_ev_dbl(const char *name, double value)
Emits a statistic event with a double value.
void stat_ev_begin(const char *filename_prefix, const char *filter)
Initialize the stat ev machinery.
void stat_ev_ctx_push_fmt(const char *key, const char *fmt,...)
Pushes a new setting on the context stack.
void stat_ev_ctx_pop(const char *key)
Pops last setting from context stack.
void stat_ev(const char *name)
Emits a statistic event (without an additional value).
int stat_ev_enabled
This variable indicates whether statev output is enabled.
void stat_ev_int(const char *name, int value)
Emits a statistic event with an integer value.
void stat_ev_ctx_push_str(const char *key, const char *str)
Pushes a new setting with a string value on the context stack.