Proposal: Custom Profiler Indicator's to mark frames of interest

Hello there,
when optimizing some operations that do not run every frame it sometimes becomes a hassle to find the correct frame in the profiler window, where the function you want to optimize was called in.

I would like to propose a static function like Profiler.SetFrameIndicator() which should then cause the profiler-window to add a small indicator in the profiling graph. Eventually with color-parameter to color-code the markers.
Something like this (best case clickable to select the frame)

2 Likes