docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.AdaptivePerformance
    Assembly: Unity.AdaptivePerformance.dll
    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
    bool

    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
    int

    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
    int

    Current GPU performance level

    GpuPerformanceBoost

    GPU boosted.

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

    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)