tools/power turbostat: add node information into turbostat calculations
authorPrarit Bhargava <prarit@redhat.com>
Fri, 1 Jun 2018 14:04:34 +0000 (10:04 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 2 Jun 2018 03:12:47 +0000 (23:12 -0400)
commit40f5cfe7b886676f00e860b482c4bf7103413a24
tree2e76476b35030cc68b2669e613801b1c0acde73b
parent70a9c6e8ed28d974f10251920ccc0ce22f69afa2
tools/power turbostat: add node information into turbostat calculations

The previous patches have added node information to turbostat, but the
counters code does not take it into account.

Add node information from cpu_topology calculations to turbostat
counters.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c