# AdaptivePerformanceProfilerStats.CustomProfilerMarker<T>

> Custom Profiler Marker that allows you to sample different data from Unity Profiler.

## Definition

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

```csharp
public readonly struct AdaptivePerformanceProfilerStats.CustomProfilerMarker<T> where T : unmanaged
```

## Constructors

| Constructor                                                                                                                                                                                                     | Description                                                                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [CustomProfilerMarker\`1(System.String,Unity.Profiling.ProfilerMarkerDataUnit)](/engine/6000.5/script-reference/unityengine/adaptiveperformance/adaptiveperformanceprofilerstats/customprofilermarker1/ctor.md) | Construct the marker with the name of the marker and the dataUnit the marker is collected on. |

## Methods

| Method                                                                                                                                     | Description                              |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------- |
| [Sample](/engine/6000.5/script-reference/unityengine/adaptiveperformance/adaptiveperformanceprofilerstats/customprofilermarker1/sample.md) | Sample a single data point in the frame. |
