diff options
author | Vir Linden <vir@lindenlab.com> | 2021-10-25 15:55:06 +0000 |
---|---|---|
committer | Vir Linden <vir@lindenlab.com> | 2021-10-25 15:55:06 +0000 |
commit | ba3459f77fc9b93c8dd79bc3ac7c59ba792da27f (patch) | |
tree | 6267b828141028889894be919263c6d19c6e54c1 /indra/llcommon | |
parent | a42b5d680935f08310de69f240435a7b67227a4d (diff) | |
parent | 3efd4c50a031ce0c1cb3d2fcc43e403136277e1f (diff) |
Merged DRTVWR-546 into SL-15999
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llsingleton.h | 1 | ||||
-rw-r--r-- | indra/llcommon/workqueue.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/llsingleton.h b/indra/llcommon/llsingleton.h index 7c81d65a8b..2e43a3cbed 100644 --- a/indra/llcommon/llsingleton.h +++ b/indra/llcommon/llsingleton.h @@ -455,6 +455,7 @@ public: static DERIVED_TYPE* getInstance() { + LL_PROFILE_ZONE_SCOPED; // We know the viewer has LLSingleton dependency circularities. If you // feel strongly motivated to eliminate them, cheers and good luck. // (At that point we could consider a much simpler locking mechanism.) 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(); |