aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-02-24 19:58:22 +0100
committerMattias Andrée <maandree@kth.se>2024-02-24 19:58:22 +0100
commit39ca33807b936a46bbd491ab5ecff817a6a28144 (patch)
treedec4c1bfc788fa6efa242fd6398e9c4f080b6999 /config.mk
parentFirst commit (diff)
downloadcoreupdown-39ca33807b936a46bbd491ab5ecff817a6a28144.tar.gz
coreupdown-39ca33807b936a46bbd491ab5ecff817a6a28144.tar.bz2
coreupdown-39ca33807b936a46bbd491ab5ecff817a6a28144.tar.xz
Add coreupdownd
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index f1d6591..f833645 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,15 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+COREUP_THRESHOLD_CPU = 95
+COREUP_THRESHOLD_TIME = 2
+COREUP_COOLDOWN = 4
+COREDOWN_THRESHOLD_CPU = 50
+COREDOWN_THRESHOLD_TIME = 2
+COREDOWN_COOLDOWN = 4
+DAEMON_INTERVAL_SEC = 1
+DAEMON_INTERVAL_NSEC = 0
+
CC = c99
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE