PerformanceMetrics
PerformanceMetrics store the current bottleneck, CPU, and GPU levels
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
public struct PerformanceMetrics
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 |