Unity - Scripting API: PerformanceMetrics
struct in UnityEngine.AdaptivePerformance
/
Implemented in:UnityEngine.AdaptivePerformanceModule
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
PerformanceMetrics store the current bottleneck, CPU, and GPU levels
Properties
| Property | Description |
|---|---|
| ClusterInfo | Current CPU cluster information information. Updated at application startup. |
| CpuPerformanceBoost | CPU boosted. |
| CurrentCpuLevel | Current 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. |
| CurrentGpuLevel | Current 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. |
| GpuPerformanceBoost | GPU boosted. |
| PerformanceBottleneck | Current performance bottleneck which describes if the program is CPU, GPU, or Application.targetFrameRate bound. |