From 630b160b6c1b4c164d80c9a197c92e8e52748ea4 Mon Sep 17 00:00:00 2001 From: Ricky Merc <65817116+RickyB505@users.noreply.github.com> Date: Wed, 12 Aug 2026 17:10:38 -0400 Subject: [PATCH] feat(profiling): added stuff for the profiler --- MenuAPI/ticks/MenuTickHandle.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MenuAPI/ticks/MenuTickHandle.cs b/MenuAPI/ticks/MenuTickHandle.cs index 31b25ad..39f305a 100644 --- a/MenuAPI/ticks/MenuTickHandle.cs +++ b/MenuAPI/ticks/MenuTickHandle.cs @@ -1,3 +1,5 @@ +using CitizenFX.FiveM.Client; + namespace MenuAPI; /// @@ -155,8 +157,9 @@ private async void Drive() { try { + Native.ProfilerEnterScope($"MenuAPI.Enhanced.{Name}"); await _handler(); - + Native.ProfilerExitScope(); _failures = 0; } catch (Exception exception)