# AverageCpuFrameTime

> Returns the main thread CPU time as an average over the past 100 frames (in seconds). Returns -1.0f if this is not available (for example, in the first frame or directly after resume). The CPU time includes only the time the CPU spent executing Unity's main and/or render threads.

## Definition

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

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