Len Brown 36229897ba 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>
2016-03-13 03:55:40 -04:00
..
2015-08-26 06:12:35 +02:00
2011-11-07 21:10:47 -05:00
2014-07-23 10:16:38 -07:00
2015-10-22 17:19:33 -07:00
2015-12-07 17:28:10 +02:00
2015-11-12 18:58:10 -03:00