Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ProfilerRecorderOptions

ProfilerRecorder lifecycle and collection options.
Read time 1 minuteLast updated 6 days ago

Definition

[Flags]public enum ProfilerRecorderOptions

Fields

Value

Description

CollectOnlyOnCurrentThreadUse to collect samples only on the thread ProfilerRecorder was initialized on.
DefaultDefault initialization options. Equivalent to (SumSamplesInFrame | WrapAroundWhenCapacityReached).
GpuRecorderUse to indicate that ProfilerRecorder should collect GPU timing instead of CPU.
KeepAliveDuringDomainReloadUse to keep the ProfilerRecorder unmanaged instance running across a Unity domain reload.
StartImmediatelyUse to start data collection immediately upon ProfilerRecorder initialization.
SumAllSamplesInFrameUse to sum all samples within a frame and collect those as one sample per frame.
WrapAroundWhenCapacityReachedUse to allow sample value overwrite when ProfilerRecorder capacity is exceeded.