summaryrefslogtreecommitdiffstats
path: root/unsupported
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-20 14:47:07 +1000
committerNathan Scott <nathans@redhat.com>2020-08-20 14:47:07 +1000
commit6b443c5da9227221ed793616f156800ab4ee2717 (patch)
treea545f96ff0d3a7c022efec5eccf8a6ec796c9b03 /unsupported
parent011125dab2338acac9c4bbc7b04604f01f40e54b (diff)
parent81b64691a7ee55e5c665ac78290495b0aea946d7 (diff)
Merge branch 'hishamhm-pull-932'
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Platform.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/unsupported/Platform.c b/unsupported/Platform.c
index e4c0e8ce..0e46a348 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;
}

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