From cfdaae871a40c63d4a4fb165dc06cce0c30591e3 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:51:30 -0700 Subject: [PATCH] added more fidelity to function timer --- app/common/functiontimer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/common/functiontimer.h b/app/common/functiontimer.h index c6a8d8837..a36e4afc9 100644 --- a/app/common/functiontimer.h +++ b/app/common/functiontimer.h @@ -25,6 +25,8 @@ #include #define TIME_THIS_FUNCTION FunctionTimer __f(__FUNCTION__) +#define START_TIMING {FunctionTimer *__f = new FunctionTimer(__FUNCTION__) +#define STOP_TIMING delete __f;}void() class FunctionTimer { public: