diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-11-27 19:57:24 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-11-27 19:57:24 -0200 |
commit | 529095607cd9941116c92bdc4cd52e5cc50ac415 (patch) | |
tree | 96b6ece02297f3f7562ca82c08dc158d43dfdea5 /unsupported | |
parent | ca03094bb2d60c6ee1558bd2bcfb9038244b38cb (diff) |
Isolate cross-platform code for load average.
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Platform.c | 6 |
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; +} |