# FlushOnEndOfFrame

> Specifies that the counter's current value should be reported to the Unity Profiler every frame.

## Definition

* **Type:** Field
* **Namespace:** [Unity.Profiling](/engine/6000.7/script-reference/unity/profiling.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
FlushOnEndOfFrame = 2
```

### Remarks

When a counter is configured with this option, it will automatically report its current value to the Unity Profiler at the end of each CPU frame.
