summaryrefslogtreecommitdiffstats
path: root/unsupported
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-11-27 19:57:24 -0200
committerHisham Muhammad <hisham@gobolinux.org>2014-11-27 19:57:24 -0200
commit529095607cd9941116c92bdc4cd52e5cc50ac415 (patch)
tree96b6ece02297f3f7562ca82c08dc158d43dfdea5 /unsupported
parentca03094bb2d60c6ee1558bd2bcfb9038244b38cb (diff)
Isolate cross-platform code for load average.
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Platform.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/unsupported/Platform.c b/unsupported/Platform.c
index 8d4b3a0d..b13b495b 100644
--- a/unsupported/Platform.c
+++ b/unsupported/Platform.c
@@ -48,3 +48,9 @@ MeterClass* Platform_meterTypes[] = {
int Platform_getUptime() {
return -1;
}
+
+void Platform_getLoadAverage(double* one, double* five, double* fifteen) {
+ *one = 0;
+ *five = 0;
+ *fifteen = 0;
+}

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