Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to readout all cores power value? #3

Open
edisonchan opened this issue Nov 13, 2020 · 1 comment
Open

how to readout all cores power value? #3

edisonchan opened this issue Nov 13, 2020 · 1 comment

Comments

@edisonchan
Copy link

Why the readout loop use total_cores/2 to limit ?

@Metric-Void
Copy link

Because this code assumed you had SMP turned on. If you have 16 cores and 32 threads, CPU 0 and CPU 16 is the same physical CPU core on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants