Commit 1913fa45 authored by Michael Ott's avatar Michael Ott
Browse files

Revert "Fix usage of time_enabled/time_running ratio"

This reverts commit e277376e.
parent 66b90453
......@@ -304,7 +304,7 @@ void PerfSensorGroup::read() {
//iterate over all values returned by ::read()
for (size_t i = 0; i < rf->nr; i++) {
reading.value = rf->values[i].value * correction;
reading.value = rf->values[i].value;
//iterate over all counters and find the one with matching id
for (const auto &s : bin.sensors) {
......@@ -314,7 +314,7 @@ void PerfSensorGroup::read() {
if (bin.lastValid) {
//storeReading takes care of delta computation and applies correction value on the result
s->storeReading(reading, 1, !_htAggregation);
s->storeReading(reading, correction, !_htAggregation);
bin.latestValueValid = true;
} else {
//Before we can compute correct values again after an invalid reading we have to update the lastRawValue first
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment