Skip to content
Commit 74318add authored by Zhang Rui's avatar Zhang Rui
Browse files

tools/power/turbostat: Abstract several functions



When detecting the primary thread/core in a core/package, current code
doesn't handle the allowed CPUs.

Abstract several functions for further fix of this issue.

No functional change.

Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 7bb3fe27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment