| 1 | /* SPDX-License-Identifier: BSD-2-Clause */cxx . . $ `<file>/src/hist.h`/ |
| 2 | /* |
| 3 | * Copyright (C) 2024 Linutronix GmbH |
| 4 | * Author Kurt Kanzenbach <[email protected]> |
| 5 | */ |
| 6 | |
| 7 | #ifndef HIST_H |
| 8 | #define HIST_Hcxx . . $ `src/hist.h:8:9`! |
| 9 | |
| 10 | #include <stdint.h> |
| 11 | |
| 12 | #include "stat.h"cxx . . $ `<file>/src/stat.h`/ |
| 13 | |
| 14 | struct histogramcxx . . $ histogram# { |
| 15 | uint64_tcxx . . $ uint64_t# *datacxx . . $ histogram#data.; |
| 16 | uint64_tcxx . . $ uint64_t# mincxx . . $ histogram#min.; |
| 17 | uint64_tcxx . . $ uint64_t# maxcxx . . $ histogram#max.; |
| 18 | uint64_tcxx . . $ uint64_t# underflowcxx . . $ histogram#underflow.; |
| 19 | uint64_tcxx . . $ uint64_t# overflowcxx . . $ histogram#overflow.; |
| 20 | }; |
| 21 | |
| 22 | int histogram_initcxx . . $ histogram_init(b126dc7c1de90089).(void); |
| 23 | void histogram_freecxx . . $ histogram_free(49f6e7a06ebc5aa8).(void); |
| 24 | void histogram_updatecxx . . $ histogram_update(ca48c151307d73b6).(enum stat_frame_typecxx . . $ stat_frame_type# frame_type, uint64_tcxx . . $ uint64_t# rtt); |
| 25 | int histogram_writecxx . . $ histogram_write(b126dc7c1de90089).(void); |
| 26 | |
| 27 | #endif /* HIST_H */ |