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

Handle when the energy counter (energy_uj) wraps around (reaches max_… #46

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

gcorrall
Copy link
Contributor

Handles when the energy counter (energy_uj) wraps around (reaches max_energy_range_uj) when using Intel RAPL.

@adelnoureddine adelnoureddine self-assigned this Feb 22, 2024
@adelnoureddine adelnoureddine added the bug Something isn't working label Feb 22, 2024
@adelnoureddine adelnoureddine linked an issue Feb 22, 2024 that may be closed by this pull request
src/intel_rapl_sysfs.adb Outdated Show resolved Hide resolved
src/intel_rapl_sysfs.ads Outdated Show resolved Hide resolved
src/powerjoular.adb Outdated Show resolved Hide resolved
@gcorrall
Copy link
Contributor Author

Thanks for the review - I've now attempted to address the points you raise.

@adelnoureddine
Copy link
Member

Thanks @gcorrall , I'll have a few quick tests on my machine, and then merge it. All good for me 😃

@adelnoureddine adelnoureddine merged commit 849fa01 into joular:develop Feb 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Negative power values
2 participants