# CustomProfilerMarker(string, ProfilerMarkerDataUnit)

> Construct the marker with the name of the marker and the dataUnit the marker is collected on.

## Definition

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

```csharp
public CustomProfilerMarker(string name, ProfilerMarkerDataUnit dataUnit)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[ProfilerMarkerDataUnit]\(/engine/6000.5/script-reference/unity/profiling/profilermarkerdataunit)):&#x20;
