Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateFlow(ushort)

Create a new Profiler flow identifier.
Read time 1 minuteLast updated 10 days ago

Definition

public static uint CreateFlow(ushort categoryId)

Parameters

categoryId

Returns

Type

Description

uintReturns flow identifier.

Remarks

Use Profiler flow to highlight dependencies in multithreaded code.
Additional Resources: ProfilerUnsafeUtility.FlowEvent, CPU Usage Profiler module.