MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / mi_add_stat

Function mi_add_stat

statistics.c:709–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707/***************************** MI STUFF ********************************/
708
709inline static int mi_add_stat(mi_item_t *resp_obj, stat_var *stat)
710{
711 return mi_print_stat(resp_obj, &collector->amodules[stat->mod_idx].name,
712 &stat->name, get_stat_val(stat));
713}
714
715inline static int mi_list_stat(mi_item_t *resp_obj, str *mod, stat_var *stat)
716{

Callers 1

mi_get_statsFunction · 0.85

Calls 1

mi_print_statFunction · 0.85

Tested by

no test coverage detected