# EmitScalerDataToProfilerStream(string, bool, int, int, float, bool, int)

> Adaptive Performance sends scaler data to the profiler each frame. It is collected from multiple places with this method and flushed once with AdaptivePerformanceProfilerStats.FlushScalerDataToProfilerStream.

## Definition

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

```csharp
public static void EmitScalerDataToProfilerStream(string scalerName, bool enabled, int overrideLevel, int currentLevel, float scale, bool applied, int maxLevel)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the scaler. 320 characters max.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): If the scaler is currently enabled.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The override state of the scaler.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The current level of the scaler.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The actual scale of the scaler.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): If the scaler is currently applied.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The maximum level of the scaler.
