Version: 2022.1
public ProfilerRecorderSample[] ToArray ();

描述

Use to convert collected samples to an array.

Note: Accessing this method allocates a new managed array on every access, which contributes to GC allocated memory. As such, this might slow down the performance of your application.