summaryrefslogtreecommitdiffstats
path: root/src/ml/ml-private.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ml/ml-private.h (renamed from ml/ml-private.h)3
1 files changed, 2 insertions, 1 deletions
diff --git a/ml/ml-private.h b/src/ml/ml-private.h
index f373456fa..646a5cb17 100644
--- a/ml/ml-private.h
+++ b/src/ml/ml-private.h
@@ -3,7 +3,7 @@
#ifndef NETDATA_ML_PRIVATE_H
#define NETDATA_ML_PRIVATE_H
-#include "dlib/matrix.h"
+#include "dlib/dlib/matrix.h"
#include "ml/ml.h"
#include <vector>
@@ -264,6 +264,7 @@ typedef struct {
RRDDIM *detector_events_new_anomaly_event_rd;
RRDSET *type_anomaly_rate_rs;
+ SPINLOCK type_anomaly_rate_spinlock;
std::unordered_map<STRING *, ml_type_anomaly_rate_t> type_anomaly_rate;
} ml_host_t;