summaryrefslogtreecommitdiff
path: root/indra/llcommon/workqueue.cpp
diff options
context:
space:
mode:
authorVir Linden <vir@lindenlab.com>2021-10-25 15:55:06 +0000
committerVir Linden <vir@lindenlab.com>2021-10-25 15:55:06 +0000
commitba3459f77fc9b93c8dd79bc3ac7c59ba792da27f (patch)
tree6267b828141028889894be919263c6d19c6e54c1 /indra/llcommon/workqueue.cpp
parenta42b5d680935f08310de69f240435a7b67227a4d (diff)
parent3efd4c50a031ce0c1cb3d2fcc43e403136277e1f (diff)
Merged DRTVWR-546 into SL-15999
Diffstat (limited to 'indra/llcommon/workqueue.cpp')
-rw-r--r--indra/llcommon/workqueue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/workqueue.cpp b/indra/llcommon/workqueue.cpp
index ffc9a97dc0..b32357e832 100644
--- a/indra/llcommon/workqueue.cpp
+++ b/indra/llcommon/workqueue.cpp
@@ -54,6 +54,7 @@ void LL::WorkQueue::runUntilClose()
bool LL::WorkQueue::runPending()
{
+ LL_PROFILE_ZONE_SCOPED;
for (Work work; mQueue.tryPop(work); )
{
callWork(work);
@@ -110,6 +111,7 @@ void LL::WorkQueue::callWork(const Queue::DataTuple& work)
void LL::WorkQueue::callWork(const Work& work)
{
+ LL_PROFILE_ZONE_SCOPED;
try
{
work();