Skip to content

Commit fd0fcab

Browse files
committed
Fix pyamdgpuinfo GPU core clock unit
1 parent 7eebd7d commit fd0fcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/sensors/sensors_python.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def fan_percent() -> float:
339339
@staticmethod
340340
def frequency() -> float:
341341
if pyamdgpuinfo:
342-
return pyamdgpuinfo.get_gpu(0).query_sclk()
342+
return pyamdgpuinfo.get_gpu(0).query_sclk() / 1000000
343343
elif pyadl:
344344
return pyadl.ADLManager.getInstance().getDevices()[0].getCurrentEngineClock()
345345

0 commit comments

Comments
 (0)