summaryrefslogtreecommitdiffstats
path: root/tools/power/pm-graph
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@redhat.com>2018-06-01 10:04:31 -0400
committerLen Brown <len.brown@intel.com>2018-06-01 23:12:46 -0400
commit8cb48b32a5defbbf333adb9a3f2101c39d37af64 (patch)
tree6a5be1e07162d36ef175c6d6f63e5929a6a2ff6e /tools/power/pm-graph
parentef6057417a6f770dfc2f1f551763cedb4d93a9cf (diff)
downloadblackbird-op-linux-8cb48b32a5defbbf333adb9a3f2101c39d37af64.tar.gz
blackbird-op-linux-8cb48b32a5defbbf333adb9a3f2101c39d37af64.zip
tools/power turbostat: track thread ID in cpu_topology
The code can be simplified if the cpu_topology *cpus tracks the thread IDs. This removes an additional file lookup and simplifies the counter initialization code. Add thread ID to cpu_topology information and cleanup the counter initialization code. v2: prevent thread_id from being overwritten Signed-off-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/pm-graph')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud