Skip to content

monitor: avoid double-counting graphics power - #418

Merged
erpalma merged 1 commit into
erpalma:masterfrom
ooonea:agent/monitor-total-without-graphics
Aug 23, 2026
Merged

erpalma merged 1 commit into
erpalma:masterfrom
ooonea:agent/monitor-total-without-graphics

Conversation

@ooonea

@ooonea ooonea commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Keep the PP1 Graphics reading visible as a diagnostic value.
  • Exclude it from Total because package energy already contains the graphics
    domain; continue adding the separate DRAM domain.
  • Use asymmetric Package, Graphics and DRAM readings to pin both the displayed
    domains and the Package + DRAM total.

Testing

  • python3 -m unittest tests.test_config_validation.ConfigValidationTests.test_monitor_handles_rapl_counter_wraparound
  • python3 -m unittest discover -s tests

Keep the PP1 reading visible while excluding it from Total because package energy already includes the graphics domain.

Assisted-by: OpenAI Codex
@erpalma
erpalma merged commit d17d875 into erpalma:master Aug 23, 2026
4 checks passed
@ooonea
ooonea deleted the agent/monitor-total-without-graphics branch August 27, 2026 18:11
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.

2 participants