文档

Unity Engine

Unity Engine

PerformanceMetrics

PerformanceMetrics store the current bottleneck, CPU, and GPU levels
阅读时间1 分钟最后更新于 1 个月前

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 [MinCpuPerformanceLevel, IDevicePerformanceControl.MaxCpuPerformanceLevel] or UnknownPerformanceLevel.
CurrentGpuLevelCurrent GPU performance level. This value updates once per frame when changes are applied to IDevicePerformanceControl.GpuLevel. Value in the range [MinGpuPerformanceLevel, IDevicePerformanceControl.MaxGpuPerformanceLevel] or UnknownPerformanceLevel.
GpuPerformanceBoostGPU boosted.
PerformanceBottleneckCurrent performance bottleneck which describes if the program is CPU, GPU, or
Application.targetFrameRate
bound.