Class GpuInformationJNA

java.lang.Object
oshi.driver.windows.perfmon.GpuInformationJNA

@ThreadSafe public final class GpuInformationJNA extends Object
Utility to query GPU Engine and GPU Adapter Memory performance counters. Available on Windows 10 version 1709 and later.
  • Method Details

    • queryGpuEngineCounters

      public static oshi.util.tuples.Pair<List<String>, Map<oshi.driver.common.windows.perfmon.GpuInformation.GpuEngineProperty, List<Long>>> queryGpuEngineCounters()
      Queries GPU Engine running time counters for all instances.
      Returns:
      pair of instance name list and counter value map
    • queryGpuAdapterMemoryCounters

      public static oshi.util.tuples.Pair<List<String>, Map<oshi.driver.common.windows.perfmon.GpuInformation.GpuAdapterMemoryProperty, List<Long>>> queryGpuAdapterMemoryCounters()
      Queries GPU Adapter Memory counters for all instances.
      Returns:
      pair of instance name list and counter value map