Class GpuInformation
java.lang.Object
oshi.driver.common.windows.perfmon.GpuInformation
GPU performance counter enums. Available on Windows 10 version 1709 and later.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGPU Adapter Memory counter properties.static enumGPU Engine running time counter properties. -
Method Summary
Modifier and TypeMethodDescriptionQueries GPU Adapter Memory counters for all instances.Queries GPU Engine counters for all instances.
-
Method Details
-
queryGpuEngineCounters
public static Pair<List<String>, Map<GpuInformation.GpuEngineProperty, List<Long>>> queryGpuEngineCounters(PerfCounterQueryExecutor executor) Queries GPU Engine counters for all instances.- Parameters:
executor- the performance counter query executor- Returns:
- pair of instance name list and counter value map
-
queryGpuAdapterMemoryCounters
public static Pair<List<String>, Map<GpuInformation.GpuAdapterMemoryProperty, List<Long>>> queryGpuAdapterMemoryCounters(PerfCounterQueryExecutor executor) Queries GPU Adapter Memory counters for all instances.- Parameters:
executor- the performance counter query executor- Returns:
- pair of instance name list and counter value map
-