aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOndrej Čerman2019-10-12 21:18:14 +0200
committerOndrej Čerman2019-10-12 21:18:14 +0200
commit621cb98ee6f22df324bcd2d453e4f5f2a640aeb9 (patch)
tree8fc769a963f66b93a1bc55bbab0bcddee2ba0ea6 /src
parent38aaa630df9a88d6387ebc2b95f50da7bad6b03d (diff)
FIX: clearing max core power
Diffstat (limited to 'src')
-rw-r--r--src/ss/msr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ss/msr.c b/src/ss/msr.c
index 8b26472..0c77a6a 100644
--- a/src/ss/msr.c
+++ b/src/ss/msr.c
@@ -148,6 +148,7 @@ void msr_clear_minmax() {
package_power_max = package_power;
for (i = 0; i < cores; i++) {
core_power_min[i] = core_power[i];
+ core_power_max[i] = core_power[i];
}
}