FrameTiming.cpuMainThreadPresentWaitTime

public double cpuMainThreadPresentWaitTime;

Description

The CPU time the last frame spent in waiting for Present on the main thread, in ms.

Note that the cpuMainThreadPresentWaitTime is the sum of shown “[wait]” blocks, and includes waits for Present() and target fps. It’s harder to show GPU work time, as it starts somewhere in the middle of “Scene rendering” and finishes on the next frame’s sync point with the previous frame.


Did you find this page useful? Please give it a rating: