HitchProbe.OnRenderFrame method
Called once per rendered frame (main thread) with that frame’s duration. Emits a line through log when the frame was a hitch, then resets the per-frame accumulators.
public static void OnRenderFrame(double frameMs, int il2CppGcCount, Action<string> log)| parameter | description |
|---|---|
| frameMs | Unscaled duration of the frame that just ended, in ms. |
| il2CppGcCount | The game’s IL2CPP GC collection count (monotonic), or -1 if unknown. |
| log | Log sink for the hitch line. |
See Also
Section titled “See Also”- class HitchProbe
- namespace Stellar.Abstractions.Diagnostics