# CurrentCpuFrameTime

> Returns the main thread CPU time of the last frame (in seconds). The CPU time includes only time the CPU spent executing Unity's main and/or render threads. Returns -1.0f if no timing information is available (for example, in the first frame or directly after resume).

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.AdaptivePerformance](/engine/6000.5/script-reference/unityengine/adaptiveperformance.md)
* **Assembly:** UnityEngine.AdaptivePerformanceModule

```csharp
public float CurrentCpuFrameTime { readonly get; set; }
```
