From bd3acb8547e12289f99676c256f9814d5451ce28 Mon Sep 17 00:00:00 2001 From: Beq Date: Thu, 1 May 2025 16:18:31 +0100 Subject: [PATCH] remove some pointless and distracting profiling --- indra/llcommon/lltimer.cpp | 4 ++-- indra/llcorehttp/_httpservice.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/llcommon/lltimer.cpp b/indra/llcommon/lltimer.cpp index fcecc46f84..6a3d1ecf88 100644 --- a/indra/llcommon/lltimer.cpp +++ b/indra/llcommon/lltimer.cpp @@ -91,7 +91,7 @@ U32 micro_sleep(U64 us, U32 max_yields) U32 micro_sleep(U64 us, U32 max_yields) { - LL_PROFILE_ZONE_SCOPED; + // LL_PROFILE_ZONE_SCOPED; // remove pointless profiling #if 0 LARGE_INTEGER ft; ft.QuadPart = -static_cast(us * 10); // '-' using relative time @@ -109,7 +109,7 @@ U32 micro_sleep(U64 us, U32 max_yields) void ms_sleep(U32 ms) { - LL_PROFILE_ZONE_SCOPED; + // LL_PROFILE_ZONE_SCOPED; // remove pointless profiling micro_sleep(ms * 1000, 0); } diff --git a/indra/llcorehttp/_httpservice.cpp b/indra/llcorehttp/_httpservice.cpp index 5880fb7e87..8e72edd2cf 100644 --- a/indra/llcorehttp/_httpservice.cpp +++ b/indra/llcorehttp/_httpservice.cpp @@ -292,7 +292,7 @@ void HttpService::threadRun(LLCoreInt::HttpThread * thread) ELoopSpeed loop(REQUEST_SLEEP); while (! mExitRequested) { - LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK; + // LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK; // remove pointless profiling try { loop = processRequestQueue(loop);