CreateFlow(ushort)
Create a new Profiler flow identifier.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Profiling.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static uint CreateFlow(ushort categoryId)
Parameters
Returns
Type | Description |
|---|---|
| uint | Returns flow identifier. |
Remarks
Use Profiler flow to highlight dependencies in multithreaded code.
Additional Resources: ProfilerUnsafeUtility.FlowEvent, CPU Usage Profiler module.