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

Add support for multiple packages for RAPL sensor #392

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

patricgruber
Copy link

Description

This fixes the issue of having wrong results on servers with multiple CPUs as described in #391

Related Issue(s)

Documentation

The fix is to prefix the name with the "id" of the package, which is taken from the parent directory name of the file. This won't cause issues with summing up values for the report, since it uses checks like "package" in result.name, but it fixes the issue with the computation of the differences, that confuse the values of cpu, dram and so on of different CPUs for being from the same CPU.

@patricgruber patricgruber changed the title Fix wrong result with multiple CPUs Add support for multiple packages for RAPL sensor Nov 29, 2024
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

Successfully merging this pull request may close these issues.

Wrong result with multiple CPUs
1 participant