Enum Class GpuTimerArchitecture

java.lang.Object
java.lang.Enum<GpuTimerArchitecture>
com.victorvalentim.zividomelive.performance.GpuTimerArchitecture
All Implemented Interfaces:
Serializable, Comparable<GpuTimerArchitecture>, Constable

public enum GpuTimerArchitecture extends Enum<GpuTimerArchitecture>
Normalized host and renderer architecture recorded with experimental GPU measurements.

Capability checks and runtime qualification remain authoritative; architecture is diagnostic evidence rather than proof that a timer backend is safe.

API stability: Experimental.

Since:
2.0.0
  • Enum Constant Details

    • APPLE_SILICON

      public static final GpuTimerArchitecture APPLE_SILICON
      Native or renderer-identified Apple Silicon host.
    • APPLE_INTEL

      public static final GpuTimerArchitecture APPLE_INTEL
      Intel Mac without an Apple Silicon renderer identity.
    • WINDOWS_ARM64

      public static final GpuTimerArchitecture WINDOWS_ARM64
      Windows on a 64-bit ARM JVM.
    • WINDOWS_X86_64

      public static final GpuTimerArchitecture WINDOWS_X86_64
      Windows on an x86-64 JVM.
    • LINUX_ARM64

      public static final GpuTimerArchitecture LINUX_ARM64
      Linux on a 64-bit ARM JVM.
    • LINUX_X86_64

      public static final GpuTimerArchitecture LINUX_X86_64
      Linux on an x86-64 JVM.
    • OTHER

      public static final GpuTimerArchitecture OTHER
      Host whose OS/architecture pair is not recognized.
  • Method Details

    • values

      public static GpuTimerArchitecture[] 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 GpuTimerArchitecture 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
    • detect

      public static GpuTimerArchitecture detect(String osName, String osArchitecture, String glVendor, String glRenderer)
      Detects a normalized architecture from JVM and active OpenGL identity strings.
      Parameters:
      osName - JVM operating-system name
      osArchitecture - JVM architecture name
      glVendor - active OpenGL vendor
      glRenderer - active OpenGL renderer
      Returns:
      normalized benchmark architecture