Interface IGlobalProfilerDataDispatcher
Defines a global dispatcher that receives aggregated profiler reports from all active collectors. Implement this interface to route profiler data to custom sinks (e.g. remote telemetry, UI).
Namespace: Unity.SimulationPro
Assembly: Unity.SimulationPro.Capture.dll
Syntax
public interface IGlobalProfilerDataDispatcher
Methods
DispatchProfilerReport(ProfilerReport)
Called by PerfStatsManager each time a collector's dispatch interval elapses.
Declaration
void DispatchProfilerReport(ProfilerReport report)
Parameters
| Type | Name | Description |
|---|---|---|
| ProfilerReport | report | The aggregated profiler report produced by the collector. |
Initialize()
Called once before profiling begins to allow the dispatcher to set up any required resources.
Declaration
void Initialize()