Version: 2020.1
LanguageEnglish
  • C#

ProfilerFlowEventType.Begin

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Use for the flow start point.

The Begin flow event type marks up the profiler sample as a flow start point. The new flow identifier is generated for the Begin event. Use it to track all profiler samples which belong to the same flow. Next denotes the next point of the flow and End denotes the flow termination. Flow identifier starts from 1 and is incremented by 1 for each new Begin.

Example of the flow start point is a job scheduling. IJobExtensions.Schedule generates an implicit Begin profiler flow event and IJob.Execute Next event.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答