Enum Class GpuInformation.GpuEngineProperty

java.lang.Object
java.lang.Enum<GpuInformation.GpuEngineProperty>
oshi.driver.common.windows.perfmon.GpuInformation.GpuEngineProperty
All Implemented Interfaces:
Serializable, Comparable<GpuInformation.GpuEngineProperty>, Constable, PdhCounterWildcardProperty
Enclosing class:
GpuInformation

public static enum GpuInformation.GpuEngineProperty extends Enum<GpuInformation.GpuEngineProperty> implements PdhCounterWildcardProperty
GPU Engine running time counter properties. Instance names have the form: pid_<PID>_luid_0x<HIGH>_0x<LOW>_phys_0_eng_<N>_engtype_<TYPE>
  • Enum Constant Details

  • Method Details

    • values

      public static GpuInformation.GpuEngineProperty[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GpuInformation.GpuEngineProperty valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCounter

      public String getCounter()
      Description copied from interface: PdhCounterWildcardProperty
      Gets the counter name for this property.
      Specified by:
      getCounter in interface PdhCounterWildcardProperty
      Returns:
      Returns the counter. The first element of the enum will return the instance filter rather than a counter.