# ProfilerCounterOptions

> Use ProfilerCounterOptions to specify configuration options when creating a ProfilerCounter or ProfilerCounterValue.

## Definition

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

```csharp
[Flags]
public enum ProfilerCounterOptions : ushort
```

## Fields

| Value                                                                                                              | Description                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| [FlushOnEndOfFrame](/engine/6000.7/script-reference/unity/profiling/profilercounteroptions/flushonendofframe.md)   | Specifies that the counter's current value should be reported to the Unity Profiler every frame.                   |
| [None](/engine/6000.7/script-reference/unity/profiling/profilercounteroptions/none.md)                             | Specifies no options.                                                                                              |
| [ResetToZeroOnFlush](/engine/6000.7/script-reference/unity/profiling/profilercounteroptions/resettozeroonflush.md) | Specifies that the counter's current value should be reset to zero each time it is reported to the Unity Profiler. |
