cpuMainThreadPresentWaitTime
The CPU time the last frame spent in waiting for Present on the main thread, in ms.
阅读时间1 分钟最后更新于 1 个月前
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.