# cpuMainThreadPresentWaitTime

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

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public double cpuMainThreadPresentWaitTime
```

### Remarks

This is the sum of shown `[wait]` blocks. It includes waits for `Present()` 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.

Additional Resources: [Get frame timing data](/engine/6000.3/manual/analysis/graphics-performance-profiling/profile-rendering/frame-timing-manager/get-timing-data.md).
