summaryrefslogtreecommitdiffstats
path: root/linux/Platform.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2022-05-04 18:21:41 +0200
committerDaniel Lange <DLange@git.local>2022-05-04 18:21:41 +0200
commit0d53245cf94f2d1a16c87488da6e427bbc520be4 (patch)
tree24d33ec7be9366bbc4c9080e1019c0aa982bc72f /linux/Platform.h
parentc7413fd6771b65388bea14ef42863444c6eaa419 (diff)
LXC: Limit CPU count to what is given in /proc/cpuinfo despite the container seeing the real host CPUs
Diffstat (limited to 'linux/Platform.h')
-rw-r--r--linux/Platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/Platform.h b/linux/Platform.h
index f2c314f5..e6fa1610 100644
--- a/linux/Platform.h
+++ b/linux/Platform.h
@@ -51,6 +51,8 @@ extern const MeterClass* const Platform_meterTypes[];
bool Platform_init(void);
void Platform_done(void);
+extern bool Running_containerized;
+
void Platform_setBindings(Htop_Action* keys);
int Platform_getUptime(void);

© 2014-2024 Faster IT GmbH | imprint | privacy policy