We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eebd7d commit bb9d92aCopy full SHA for bb9d92a
library/sensors/sensors_python.py
@@ -339,9 +339,11 @@ def fan_percent() -> float:
339
@staticmethod
340
def frequency() -> float:
341
if pyamdgpuinfo:
342
- return pyamdgpuinfo.get_gpu(0).query_sclk()
+ return pyamdgpuinfo.get_gpu(0).query_sclk() / 1000000
343
elif pyadl:
344
return pyadl.ADLManager.getInstance().getDevices()[0].getCurrentEngineClock()
345
+ else:
346
+ return math.nan
347
348
349
def is_available() -> bool:
0 commit comments