cpuMainThreadPresentWaitTime
The CPU time the last frame spent in waiting for Present on the main thread, in ms.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public double cpuMainThreadPresentWaitTime
Remarks
This is the sum of shown blocks. It includes waits for and the target fps. It's harder to show GPU work time because it starts somewhere in the middle of scene rendering and finishes on the next frame's sync point with the previous frame.
[wait]Present()Additional Resources: Get frame timing data.