ProfilerRecorder lifecycle and collection options.
StartImmediately | Use to start data collection immediately upon ProfilerRecorder initialization. |
KeepAliveDuringDomainReload | Use to keep the ProfilerRecorder unmanaged instance running across a Unity domain reload. |
CollectOnlyOnCurrentThread | Use to collect samples only on the thread ProfilerRecorder was initialized on. |
WrapAroundWhenCapacityReached | Use to allow sample value overwrite when ProfilerRecorder capacity is exceeded. |
SumAllSamplesInFrame | Use to sum all samples within a frame and collect those as one sample per frame. |
GpuRecorder | Use to indicate that ProfilerRecorder should collect GPU timing instead of CPU. |
Default | Default initialization options. Equivalent to (SumSamplesInFrame | WrapAroundWhenCapacityReached). |