| 149 | } |
| 150 | |
| 151 | void MetricStat::reset() { |
| 152 | sum = 0; |
| 153 | avg = 0.0; |
| 154 | count = 0; |
| 155 | max = std::numeric_limits<int64_t>::min(); |
| 156 | min = std::numeric_limits<int64_t>::max(); |
| 157 | values.clear(); |
| 158 | percentile25 = 0; |
| 159 | percentile50 = 0; |
| 160 | percentile90 = 0; |
| 161 | percentile99 = 0; |
| 162 | percentile9999 = 0; |
| 163 | startTimeNanoSeconds = timer_int(); |
| 164 | hasNewData = false; |
| 165 | } |
| 166 | |
| 167 | ACTOR static Future<Void> publisher(ConsoleMetric* self) { |
| 168 | loop { |
no test coverage detected