Turbostat: refactor cpu probing
authorVincent Brillault <git@lerya.net>
Fri, 22 Aug 2014 22:58:25 +0000 (00:58 +0200)
committerVincent Brillault <git@lerya.net>
Sat, 28 Feb 2015 06:35:40 +0000 (07:35 +0100)
commit733294e6d07326c46ae55ceb0180a05b7c1339c9
tree523dca7c6fca94c5ae9b1a8000b1d8170f1dbcda
parent648fc798e2a7d06b85d8ae1d5bd2c6b85782e5d7
Turbostat: refactor cpu probing

Reorganization and rewriting of the cpu-probing code:
- Only support genuine_intel CPUs
- Remove variables that are always expected to be true
- Make supported pkg/core cstates more comprehensive
- Simplify rafl code (remove unused warning feature: intervals too long)
src/turbostat.c