docs.unity3d.com
    Show / Hide Table of Contents

    Struct PerformanceMetrics

    PerformanceMetrics store the current bottleneck, CPU, and GPU levels

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.AdaptivePerformance
    Syntax
    public struct PerformanceMetrics

    Properties

    ClusterInfo

    Current CPU cluster information information. Updated at application startup.

    Declaration
    public ClusterInfo ClusterInfo { readonly get; set; }
    Property Value
    Type Description
    ClusterInfo

    CPU cluster information

    CpuPerformanceBoost

    CPU boosted.

    Declaration
    public bool CpuPerformanceBoost { readonly get; set; }
    Property Value
    Type Description
    Boolean

    CPU boosted

    CurrentCpuLevel

    Current CPU performance level. This value updates once per frame when changes are applied to CpuLevel. Value in the range [MinCpuPerformanceLevel, MaxCpuPerformanceLevel] or UnknownPerformanceLevel.

    Declaration
    public int CurrentCpuLevel { readonly get; set; }
    Property Value
    Type Description
    Int32

    Current CPU performance level

    CurrentGpuLevel

    Current GPU performance level. This value updates once per frame when changes are applied to GpuLevel. Value in the range [MinGpuPerformanceLevel, MaxGpuPerformanceLevel] or UnknownPerformanceLevel.

    Declaration
    public int CurrentGpuLevel { readonly get; set; }
    Property Value
    Type Description
    Int32

    Current GPU performance level

    GpuPerformanceBoost

    GPU boosted.

    Declaration
    public bool GpuPerformanceBoost { readonly get; set; }
    Property Value
    Type Description
    Boolean

    GPU boosted

    PerformanceBottleneck

    Current performance bottleneck which describes if the program is CPU, GPU, or Application.targetFrameRate bound.

    Declaration
    public PerformanceBottleneck PerformanceBottleneck { readonly get; set; }
    Property Value
    Type Description
    PerformanceBottleneck
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023