diff options
author | Doug Smythies <[email protected]> | 2014-06-17 13:36:10 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2014-06-17 22:57:40 +0200 |
commit | 51d211e9c334b9eca3505f4052afa660c3e0606b (patch) | |
tree | f515484b6eb8f1f5b75bfaa3ec969747a3b41706 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 217886d3f3191f1f052e987740ee2bb32a4fd316 (diff) |
intel_pstate: Correct rounding in busy calculation
There was a mistake in the actual rounding portion this previous patch:
f0fe3cd7e12d (intel_pstate: Correct rounding in busy calculation) such that
the rounding was asymetric and incorrect.
Severity: Not very serious, but can increase target pstate by one extra value.
For real world work flows the issue should self correct (but I have no proof).
It is the equivalent of different PID gains for positive and negative numbers.
Examples:
-3.000000 used to round to -4, rounds to -3 with this patch.
-3.503906 used to round to -5, rounds to -4 with this patch.
Fixes: f0fe3cd7e12d (intel_pstate: Correct rounding in busy calculation)
Signed-off-by: Doug Smythies <[email protected]>
Cc: 3.14+ <[email protected]> # 3.14+
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions