Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PerformanceMetrics

PerformanceMetrics store the current bottleneck, CPU, and GPU levels
Read time 1 minuteLast updated 6 days ago

Definition

public struct PerformanceMetrics

Properties

Property

Description

ClusterInfoCurrent CPU cluster information information. Updated at application startup.
CpuPerformanceBoostCPU boosted.
CurrentCpuLevelCurrent CPU performance level. This value updates once per frame when changes are applied to IDevicePerformanceControl.CpuLevel. Value in the range [Constants.MinCpuPerformanceLevel, IDevicePerformanceControl.MaxCpuPerformanceLevel] or Constants.UnknownPerformanceLevel.
CurrentGpuLevelCurrent GPU performance level. This value updates once per frame when changes are applied to IDevicePerformanceControl.GpuLevel. Value in the range [Constants.MinGpuPerformanceLevel, IDevicePerformanceControl.MaxGpuPerformanceLevel] or Constants.UnknownPerformanceLevel.
GpuPerformanceBoostGPU boosted.
PerformanceBottleneckCurrent performance bottleneck which describes if the program is CPU, GPU, or
Application.targetFrameRate
bound.