projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13bbf9b
)
Turbostat set_temperature_target: get msr from the correct cpu
author
Vincent Brillault
<git@lerya.net>
Sat, 23 Aug 2014 07:28:07 +0000
(09:28 +0200)
committer
Vincent Brillault
<git@lerya.net>
Sat, 28 Feb 2015 06:35:40 +0000
(07:35 +0100)
src/turbostat.c
patch
|
blob
|
history
diff --git
a/src/turbostat.c
b/src/turbostat.c
index
ea4f92f
..
c777860
100644
(file)
--- a/
src/turbostat.c
+++ b/
src/turbostat.c
@@
-991,7
+991,7
@@
set_temperature_target(struct thread_data *t, struct core_data *c, struct pkg_da
return 0;
}
- if (get_msr(
0
, MSR_IA32_TEMPERATURE_TARGET, &msr))
+ if (get_msr(
cpu
, MSR_IA32_TEMPERATURE_TARGET, &msr))
goto guess;
target_c_local = (msr >> 16) & 0x7F;