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>-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInstance filter (all instances).Running time in 100ns units (raw cumulative counter).Total elapsed time in 100ns units (SecondValue of Running Time counter; idle = base - active). -
Method Summary
Modifier and TypeMethodDescriptionGets the counter name for this property.Returns the enum constant of this class with the specified name.static GpuInformation.GpuEngineProperty[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
Instance filter (all instances). -
RUNNING_TIME
Running time in 100ns units (raw cumulative counter). -
RUNNING_TIME_BASE
Total elapsed time in 100ns units (SecondValue of Running Time counter; idle = base - active).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getCounter
Description copied from interface:PdhCounterWildcardPropertyGets the counter name for this property.- Specified by:
getCounterin interfacePdhCounterWildcardProperty- Returns:
- Returns the counter. The first element of the enum will return the instance filter rather than a counter.
-