| 219 | } |
| 220 | |
| 221 | static void mi_stat_counter_print(const mi_stat_counter_t* stat, const char* msg, mi_output_fun* out, void* arg ) { |
| 222 | _mi_fprintf(out, arg, "%10s:", msg); |
| 223 | mi_print_amount(stat->total, -1, out, arg); |
| 224 | _mi_fprintf(out, arg, "\n"); |
| 225 | } |
| 226 | |
| 227 | static void mi_stat_counter_print_avg(const mi_stat_counter_t* stat, const char* msg, mi_output_fun* out, void* arg) { |
| 228 | const int64_t avg_tens = (stat->count == 0 ? 0 : (stat->total*10 / stat->count)); |
no test coverage detected