From 019bf999cd8302252d12f7e3d1ef69d25af0c628 Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Tue, 26 Oct 2021 18:07:31 -0700 Subject: [PATCH] SL-15709: Add missing macros when no profiling is set --- indra/llcommon/llprofiler.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/indra/llcommon/llprofiler.h b/indra/llcommon/llprofiler.h index 4e365de73e..cfa74483a0 100644 --- a/indra/llcommon/llprofiler.h +++ b/indra/llcommon/llprofiler.h @@ -106,7 +106,21 @@ #endif #else #define LL_PROFILER_FRAME_END - #define LL_PROFILER_SET_THREAD_NAME( name ) (void)(name) + #define LL_PROFILER_SET_THREAD_NAME(name) + #define LL_PROFILER_THREAD_BEGIN(name) + #define LL_PROFILER_THREAD_END(name) + + #define LL_RECORD_BLOCK_TIME(name) + #define LL_PROFILE_ZONE_NAMED(name) + #define LL_PROFILE_ZONE_NAMED_COLOR(name,color) + #define LL_PROFILE_ZONE_SCOPED + + #define LL_PROFILE_ZONE_NUM(val) + #define LL_PROFILE_ZONE_TEXT(text, size) + + #define LL_PROFILE_ZONE_ERR(name) + #define LL_PROFILE_ZONE_INFO(name) + #define LL_PROFILE_ZONE_WARN(name) #endif // LL_PROFILER #endif // LL_PROFILER_H