Skip to content

Commit

Permalink
Merge pull request #544 from sutaburosu/fix/amdgpu-query_load-float_t…
Browse files Browse the repository at this point in the history
…o_percent
  • Loading branch information
mathoudebine authored Jul 24, 2024
2 parents 980577f + b676a0d commit 5d02c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/sensors/sensors_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def stats() -> Tuple[
memory_percentage = math.nan

try:
load = amd_gpu.query_load()
load = amd_gpu.query_load() * 100
except:
load = math.nan

Expand Down

0 comments on commit 5d02c7f

Please sign in to comment.