Class AdlUtilFFM
java.lang.Object
oshi.util.gpu.AdlUtilFFM
FFM-based optional runtime binding to the AMD Display Library (ADL) on Windows. All methods return sentinel values
(
-1 or -1d) when ADL is unavailable or a specific query fails.
Only Overdrive N (Radeon RX 400 series and newer) is supported.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intfindAdapterIndex(int pciBusNumber) static longgetCoreClockMhz(int adapterIndex) static doublegetFanSpeedPercent(int adapterIndex) static longgetMemoryClockMhz(int adapterIndex) static doublegetPowerDraw(int adapterIndex) static doublegetTemperature(int adapterIndex) static boolean
-
Method Details
-
isAvailable
public static boolean isAvailable() -
findAdapterIndex
public static int findAdapterIndex(int pciBusNumber) -
getTemperature
public static double getTemperature(int adapterIndex) -
getCoreClockMhz
public static long getCoreClockMhz(int adapterIndex) -
getMemoryClockMhz
public static long getMemoryClockMhz(int adapterIndex) -
getPowerDraw
public static double getPowerDraw(int adapterIndex) -
getFanSpeedPercent
public static double getFanSpeedPercent(int adapterIndex)
-