summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-03 02:11:15 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-03 22:30:26 +0300
commit5b485bdc6046867e8b03906e8bdd0f02471f9fa8 (patch)
treed206e629ac10cf0d0106377fb6c7921ef45063ad
parent210a6a8eb4499b86f548f7afdc90f1660c117f9c (diff)
#5612 Improve profiling coverage
-rw-r--r--indra/llmessage/llassetstorage.cpp3
-rw-r--r--indra/newview/llfloaterinspect.cpp1
-rw-r--r--indra/newview/llremoteparcelrequest.cpp1
-rw-r--r--indra/newview/llviewergenericmessage.cpp3
-rw-r--r--indra/newview/llviewermessage.cpp8
-rw-r--r--indra/newview/llviewerobject.cpp1
-rw-r--r--indra/newview/llvoavatar.cpp1
-rw-r--r--indra/newview/llworld.cpp1
-rw-r--r--indra/newview/llworldmapmessage.cpp2
9 files changed, 20 insertions, 1 deletions
diff --git a/indra/llmessage/llassetstorage.cpp b/indra/llmessage/llassetstorage.cpp
index 4c3acb27f4..b6a98575f9 100644
--- a/indra/llmessage/llassetstorage.cpp
+++ b/indra/llmessage/llassetstorage.cpp
@@ -453,6 +453,7 @@ bool LLAssetStorage::findInCacheAndInvokeCallback(const LLUUID& uuid, LLAssetTyp
bool exists = LLFileSystem::getExists(uuid, type);
if (exists)
{
+ LL_PROFILE_ZONE_SCOPED;
LLFileSystem file(uuid, type);
U32 size = file.getSize();
if (size > 0)
@@ -562,7 +563,7 @@ void LLAssetStorage::getAssetData(const LLUUID uuid,
if (callback == tmp->mDownCallback && user_data == tmp->mUserData)
{
// this is a duplicate from the same subsystem - throw it away
- LL_WARNS("AssetStorage") << "Discarding duplicate request for asset " << uuid
+ LL_DEBUGS("AssetStorage") << "Discarding duplicate request for asset " << uuid
<< "." << LLAssetType::lookup(type) << LL_ENDL;
return;
}
diff --git a/indra/newview/llfloaterinspect.cpp b/indra/newview/llfloaterinspect.cpp
index c0fe7ad896..163edf0426 100644
--- a/indra/newview/llfloaterinspect.cpp
+++ b/indra/newview/llfloaterinspect.cpp
@@ -100,6 +100,7 @@ void LLFloaterInspect::onOpen(const LLSD& key)
LLSelectMgr::getInstance()->setForceSelection(forcesel); // restore previouis value
mObjectSelection = LLSelectMgr::getInstance()->getSelection();
refresh();
+ mDirty = false;
}
void LLFloaterInspect::onClickCreatorProfile()
{
diff --git a/indra/newview/llremoteparcelrequest.cpp b/indra/newview/llremoteparcelrequest.cpp
index f89afd38ab..c1b33f313b 100644
--- a/indra/newview/llremoteparcelrequest.cpp
+++ b/indra/newview/llremoteparcelrequest.cpp
@@ -84,6 +84,7 @@ void LLRemoteParcelInfoProcessor::removeObserver(const LLUUID& parcel_id, LLRemo
//static
void LLRemoteParcelInfoProcessor::processParcelInfoReply(LLMessageSystem* msg, void**)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
LLParcelData parcel_data;
msg->getUUID ("Data", "ParcelID", parcel_data.parcel_id);
diff --git a/indra/newview/llviewergenericmessage.cpp b/indra/newview/llviewergenericmessage.cpp
index fd894a5997..f3a0f026b8 100644
--- a/indra/newview/llviewergenericmessage.cpp
+++ b/indra/newview/llviewergenericmessage.cpp
@@ -73,6 +73,7 @@ void send_generic_message(const std::string& method,
void process_generic_message(LLMessageSystem* msg, void**)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
LLUUID agent_id;
msg->getUUID("AgentData", "AgentID", agent_id);
if (agent_id != gAgent.getID())
@@ -95,6 +96,7 @@ void process_generic_message(LLMessageSystem* msg, void**)
void process_generic_streaming_message(LLMessageSystem* msg, void**)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
LLGenericStreamingMessage data;
data.unpack(msg);
switch (data.mMethod)
@@ -110,6 +112,7 @@ void process_generic_streaming_message(LLMessageSystem* msg, void**)
void process_large_generic_message(LLMessageSystem* msg, void**)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
LLUUID agent_id;
msg->getUUID("AgentData", "AgentID", agent_id);
if (agent_id != gAgent.getID())
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 5d8bd45218..812ba76551 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -3554,6 +3554,7 @@ extern U32Bits gObjectData;
void process_object_update(LLMessageSystem *mesgsys, void **user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
// Update the data counters
if (mesgsys->getReceiveCompressedSize())
{
@@ -3575,6 +3576,7 @@ void process_object_update(LLMessageSystem *mesgsys, void **user_data)
void process_compressed_object_update(LLMessageSystem *mesgsys, void **user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
// Update the data counters
if (mesgsys->getReceiveCompressedSize())
{
@@ -3596,6 +3598,7 @@ void process_compressed_object_update(LLMessageSystem *mesgsys, void **user_data
void process_cached_object_update(LLMessageSystem *mesgsys, void **user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
// Update the data counters
if (mesgsys->getReceiveCompressedSize())
{
@@ -3613,6 +3616,7 @@ void process_cached_object_update(LLMessageSystem *mesgsys, void **user_data)
void process_terse_object_update_improved(LLMessageSystem *mesgsys, void **user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
if (mesgsys->getReceiveCompressedSize())
{
gObjectData += (U32Bytes)mesgsys->getReceiveCompressedSize();
@@ -3972,6 +3976,7 @@ void process_sim_stats(LLMessageSystem *msg, void **user_data)
void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
LLUUID animation_id;
LLUUID uuid;
S32 anim_sequence_id;
@@ -4083,6 +4088,7 @@ void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data)
void process_object_animation(LLMessageSystem *mesgsys, void **user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
LLUUID animation_id;
LLUUID uuid;
S32 anim_sequence_id;
@@ -4148,6 +4154,7 @@ void process_object_animation(LLMessageSystem *mesgsys, void **user_data)
void process_avatar_appearance(LLMessageSystem *mesgsys, void **user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
LLUUID uuid;
mesgsys->getUUIDFast(_PREHASH_Sender, _PREHASH_ID, uuid);
@@ -5679,6 +5686,7 @@ void process_script_experience_details(const LLSD& experience_details, LLSD args
void process_script_question(LLMessageSystem *msg, void **user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
// *TODO: Translate owner name -> [FIRST] [LAST]
LLHost sender = msg->getSender();
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 521c6731e0..7c26cb3c9f 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -3210,6 +3210,7 @@ S32 LLFilenameAndTask::sCount = 0;
// static
void LLViewerObject::processTaskInv(LLMessageSystem* msg, void** user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
LLUUID task_id;
msg->getUUIDFast(_PREHASH_InventoryData, _PREHASH_TaskID, task_id);
LLViewerObject* object = gObjectList.findObject(task_id);
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index bb152ced40..2f39a76156 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -5984,6 +5984,7 @@ const LLUUID& LLVOAvatar::getStepSound() const
//-----------------------------------------------------------------------------
void LLVOAvatar::processAnimationStateChanges()
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR;
if ( isAnyAnimationSignaled(AGENT_WALK_ANIMS, NUM_AGENT_WALK_ANIMS) )
{
startMotion(ANIM_AGENT_WALK_ADJUST);
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index 47e1815bc2..d02694de7d 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -1217,6 +1217,7 @@ void process_disable_simulator(LLMessageSystem *mesgsys, void **user_data)
void process_region_handshake(LLMessageSystem* msg, void** user_data)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
LLHost host = msg->getSender();
LLViewerRegion* regionp = LLWorld::getInstance()->getRegion(host);
if (!regionp)
diff --git a/indra/newview/llworldmapmessage.cpp b/indra/newview/llworldmapmessage.cpp
index 3264f8ae8b..c039f9de3f 100644
--- a/indra/newview/llworldmapmessage.cpp
+++ b/indra/newview/llworldmapmessage.cpp
@@ -154,6 +154,7 @@ void LLWorldMapMessage::sendMapBlockRequest(U16 min_x, U16 min_y, U16 max_x, U16
// public static
void LLWorldMapMessage::processMapBlockReply(LLMessageSystem* msg, void**)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
if (gNonInteractive)
{
return;
@@ -248,6 +249,7 @@ void LLWorldMapMessage::processMapBlockReply(LLMessageSystem* msg, void**)
// public static
void LLWorldMapMessage::processMapItemReply(LLMessageSystem* msg, void**)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_NETWORK;
//LL_INFOS("WorldMap") << LL_ENDL;
U32 type;
msg->getU32Fast(_PREHASH_RequestData, _PREHASH_ItemType, type);