| 75 | } |
| 76 | |
| 77 | static void update_min_max(struct hdr_histogram* h, int64_t value) |
| 78 | { |
| 79 | h->min_value = (value < h->min_value && value != 0) ? value : h->min_value; |
| 80 | h->max_value = (value > h->max_value) ? value : h->max_value; |
| 81 | } |
| 82 | |
| 83 | static void update_min_max_atomic(struct hdr_histogram* h, int64_t value) |
| 84 | { |