From 8cc0da2ca7ba0cb3e44deea8eb031a36d96f7c72 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Thu, 1 Feb 2024 19:09:51 +0100 Subject: Fix some issues with sync and added more modes --- src/profiling.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/profiling.c') diff --git a/src/profiling.c b/src/profiling.c index 713e2b3..cc58694 100644 --- a/src/profiling.c +++ b/src/profiling.c @@ -139,9 +139,7 @@ u8 prof_detail_level = 2; // No profiling. #define PROF_INIT() #define PROF(F,VAR) do {F;} while(0) -#define FRAME_START() do { \ - profile_start();\ -} while(0) +#define FRAME_START() #define FRAME_END() #define PROF_SHOW() #define PROF_DETAIL(N) -- cgit v1.2.1