summaryrefslogtreecommitdiff
path: root/multiload/autoscaler.h
diff options
context:
space:
mode:
Diffstat (limited to 'multiload/autoscaler.h')
-rw-r--r--multiload/autoscaler.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/multiload/autoscaler.h b/multiload/autoscaler.h
deleted file mode 100644
index 11ca588b..00000000
--- a/multiload/autoscaler.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef MATE_APPLETS_MULTILOAD_AUTOSCALER_H
-#define MATE_APPLETS_MULTILOAD_AUTOSCALER_H
-
-#include <glib.h>
-#include <time.h>
-
-typedef struct _AutoScaler AutoScaler;
-
-struct _AutoScaler
-{
- /* const */ unsigned update_interval;
- /* const */ unsigned floor;
- unsigned max;
- unsigned count;
- time_t last_update;
- float sum;
- float last_average;
-};
-
-
-G_GNUC_INTERNAL void autoscaler_init(AutoScaler *that, unsigned interval, unsigned floor);
-
-G_GNUC_INTERNAL unsigned autoscaler_get_max(AutoScaler *that, unsigned current);
-
-
-#endif /* MATE_APPLETS_MULTILOAD_AUTOSCALER_H */