summaryrefslogtreecommitdiff
path: root/tools/thermal/tmon
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2016-02-26 20:51:02 -0500
committerLen Brown <len.brown@intel.com>2016-03-13 03:55:40 -0400
commit36229897ba966bb0dc9e060222ff17b198252367 (patch)
tree338ca7d3fa3ce6553b7b6a58bd40568a99a4a5de /tools/thermal/tmon
parent58cc30a4e6086d542302e04eea39b2a438e4c5dd (diff)
tools/power turbostat: make fewer systems calls
skip the open(2)/close(2) on each msr read by keeping the /dev/cpu/*/msr files open. The remaining read(2) is generally far fewer cycles than the removed open(2) system call. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/thermal/tmon')
0 files changed, 0 insertions, 0 deletions