summaryrefslogtreecommitdiffstats
path: root/ml/ml.h
diff options
context:
space:
mode:
Diffstat (limited to 'ml/ml.h')
-rw-r--r--ml/ml.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ml/ml.h b/ml/ml.h
index 60c520d2e7..7f35635ace 100644
--- a/ml/ml.h
+++ b/ml/ml.h
@@ -13,7 +13,9 @@ extern "C" {
bool ml_capable();
bool ml_enabled(RRDHOST *rh);
bool ml_streaming_enabled();
+
void ml_init(void);
+void ml_fini(void);
void ml_host_new(RRDHOST *rh);
void ml_host_delete(RRDHOST *rh);
@@ -22,10 +24,6 @@ void ml_host_get_info(RRDHOST *RH, BUFFER *wb);
void ml_host_get_detection_info(RRDHOST *RH, BUFFER *wb);
void ml_host_get_models(RRDHOST *RH, BUFFER *wb);
-void ml_host_start_training_thread(RRDHOST *rh);
-void ml_host_cancel_training_thread(RRDHOST *rh);
-void ml_host_stop_training_thread(RRDHOST *rh);
-
void ml_chart_new(RRDSET *rs);
void ml_chart_delete(RRDSET *rs);
bool ml_chart_update_begin(RRDSET *rs);
@@ -35,6 +33,8 @@ void ml_dimension_new(RRDDIM *rd);
void ml_dimension_delete(RRDDIM *rd);
bool ml_dimension_is_anomalous(RRDDIM *rd, time_t curr_time, double value, bool exists);
+void ml_update_global_statistics_charts(uint64_t models_consulted);
+
#ifdef __cplusplus
};
#endif