summaryrefslogtreecommitdiff
path: root/lib/crc16.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2016-02-27 01:51:02 (GMT)
committerLen Brown <len.brown@intel.com>2016-03-13 07:55:40 (GMT)
commit36229897ba966bb0dc9e060222ff17b198252367 (patch)
tree338ca7d3fa3ce6553b7b6a58bd40568a99a4a5de /lib/crc16.c
parent58cc30a4e6086d542302e04eea39b2a438e4c5dd (diff)
downloadlinux-36229897ba966bb0dc9e060222ff17b198252367.tar.xz
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 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions