FStatsHierarchical::EndMeasurements

Ends measurements / profiling and returns the compacted profiling tree.