diff options
author | Arnavion <arnavion@gmail.com> | 2019-08-10 17:17:45 -0700 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2019-08-10 17:17:45 -0700 |
commit | 909bb86f05c20f0ec6f5d55994065a293932ce21 (patch) | |
tree | a74598e116cbbdb0c5da973734affe596bd9d777 /unsupported | |
parent | 43728b37e76e4ed32b04c133ca55e27116cdfa06 (diff) |
Show N/A on unsupported platforms instead of 0KHz
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Platform.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/unsupported/Platform.c b/unsupported/Platform.c index ba844191..b5e50c3f 100644 --- a/unsupported/Platform.c +++ b/unsupported/Platform.c @@ -108,8 +108,11 @@ int Platform_getMaxPid() { } double Platform_setCPUValues(Meter* this, int cpu) { - (void) this; (void) cpu; + + double* v = this->values; + v[CPU_METER_FREQUENCY] = -1; + return 0.0; } |