summaryrefslogtreecommitdiff
path: root/indra/newview/llpersistentnotificationstorage.cpp
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-10-29 15:11:42 -0700
committerPtolemy <ptolemy@lindenlab.com>2021-10-29 15:11:42 -0700
commit1be8a8d10bd3542b0b5c2943a508509c5cfcf3ef (patch)
treea4bd2bdddb24ae0b443878b0337e77787d3fea40 /indra/newview/llpersistentnotificationstorage.cpp
parent61bca72d37f695ee15897ddc3b9215c969ecf648 (diff)
parent68b75be652575ff301172b7b19522d4f0494bdf0 (diff)
Fix merge conflict
Diffstat (limited to 'indra/newview/llpersistentnotificationstorage.cpp')
-rw-r--r--indra/newview/llpersistentnotificationstorage.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/newview/llpersistentnotificationstorage.cpp b/indra/newview/llpersistentnotificationstorage.cpp
index f95ab9928d..20cf4df56b 100644
--- a/indra/newview/llpersistentnotificationstorage.cpp
+++ b/indra/newview/llpersistentnotificationstorage.cpp
@@ -47,11 +47,9 @@ LLPersistentNotificationStorage::~LLPersistentNotificationStorage()
{
}
-static LLTrace::BlockTimerStatHandle FTM_SAVE_NOTIFICATIONS("Save Notifications");
-
void LLPersistentNotificationStorage::saveNotifications()
{
- LL_RECORD_BLOCK_TIME(FTM_SAVE_NOTIFICATIONS);
+ LL_PROFILE_ZONE_SCOPED;
boost::intrusive_ptr<LLPersistentNotificationChannel> history_channel = boost::dynamic_pointer_cast<LLPersistentNotificationChannel>(LLNotifications::instance().getChannel("Persistent"));
if (!history_channel)
@@ -90,11 +88,9 @@ void LLPersistentNotificationStorage::saveNotifications()
writeNotifications(output);
}
-static LLTrace::BlockTimerStatHandle FTM_LOAD_NOTIFICATIONS("Load Notifications");
-
void LLPersistentNotificationStorage::loadNotifications()
{
- LL_RECORD_BLOCK_TIME(FTM_LOAD_NOTIFICATIONS);
+ LL_PROFILE_ZONE_SCOPED;
LL_INFOS("LLPersistentNotificationStorage") << "start loading notifications" << LL_ENDL;