# GpuRecorder

> Use to indicate that ProfilerRecorder should collect GPU timing instead of CPU.

## Definition

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

```csharp
GpuRecorder = 64
```

### Remarks

If you use [ProfilerRecorderOptions.GpuRecorder](/engine/6000.5/script-reference/unity/profiling/profilerrecorderoptions/gpurecorder.md) to create the recorder, make sure you set the [SampleGpu](/engine/6000.5/script-reference/unity/profiling/lowlevel/markerflags/samplegpu.md) flag for the [ProfilerMarker](/engine/6000.5/script-reference/unity/profiling/profilermarker.md) it is used with.
