fix: deduplicate mirrored Linux RAPL counters - #1276
Open
lntutor wants to merge 2 commits into
Open
Conversation
Member
|
Thanks for your contribution, that seems great! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1276 +/- ##
==========================================
+ Coverage 89.70% 89.79% +0.09%
==========================================
Files 48 48
Lines 4778 4791 +13
==========================================
+ Hits 4286 4302 +16
+ Misses 492 489 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
Hello, you have created more than 20 repository today, I suspect you are an OpenClaw agent. I'm not against AI contribution, but a human must be accountable and willing to contribute to our project. Please respect the PR submission template. We will merge EMI PR in a few days then look back at this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #1274
Validation
uv run pytest tests/test_rapl_mmio_scanning.py -quv run pytest tests/test_cpu.py tests/test_rapl_mmio_scanning.py tests/test_rapl_parameters.py -quv run ruff check codecarbon/core/cpu.py tests/test_rapl_mmio_scanning.pyuv run ruff format --check codecarbon/core/cpu.py tests/test_rapl_mmio_scanning.pygit diff --check