Home
last modified time | relevance | path

Searched hist:"36229897 ba966bb0dc9e060222ff17b198252367" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.cdiff 36229897ba966bb0dc9e060222ff17b198252367 Fri Feb 26 19:51:02 CST 2016 Len Brown <len.brown@intel.com> 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>