Skip to content

next: do not poll metrics after exceeding gpu_metrics_sample_count - #2129

Merged
flightlessmango merged 1 commit into
flightlessmango:masterfrom
17314642:master
Oct 5, 2026
Merged

flightlessmango merged 1 commit into
flightlessmango:masterfrom
17314642:master

Conversation

@17314642

Copy link
Copy Markdown
Contributor

After polling 20 times in a row, while loop continued to poll gpu stats without sleep, which lead to Intel Arc gpus showing -inf or nan values for power usage, because of delta being divided by 0 ms in Intel_i915::get_power_usage() line 48

After polling 20 times in a row, while loop continued to poll gpu stats
without sleep, which lead to Intel Arc gpus showing -inf or nan values
for power usage, because of delta being divided by 0 ms in
Intel_i915::get_power_usage() line 48
@flightlessmango
flightlessmango merged commit 5b05277 into flightlessmango:master Oct 5, 2026
2 checks passed
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