| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | #ifndef NETDATA_PULSE_ML_H |
| 4 | #define NETDATA_PULSE_ML_H |
| 5 | |
| 6 | #include "daemon/common.h" |
| 7 | |
| 8 | #ifdef __cplusplus |
| 9 | extern "C" { |
| 10 | #endif |
| 11 | |
| 12 | void pulse_ml_models_consulted(size_t models_consulted); |
| 13 | void pulse_ml_models_received(); |
| 14 | void pulse_ml_models_ignored(); |
| 15 | void pulse_ml_models_sent(); |
| 16 | |
| 17 | void pulse_ml_memory_allocated(size_t n); |
| 18 | void pulse_ml_memory_freed(size_t n); |
| 19 | |
| 20 | void global_statistics_ml_models_deserialization_failures(); |
| 21 | |
| 22 | uint64_t pulse_ml_get_current_memory_usage(void); |
| 23 | |
| 24 | #if defined(PULSE_INTERNALS) |
| 25 | void pulse_ml_do(bool extended); |
| 26 | #endif |
| 27 | |
| 28 | #ifdef __cplusplus |
| 29 | } |
| 30 | #endif |
| 31 | |
| 32 | |
| 33 | #endif //NETDATA_PULSE_ML_H |