summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2011-08-10 10:52:56 -0700
committerRichard Nelson <richard@lindenlab.com>2011-08-10 10:52:56 -0700
commit11005a9d917dde208fc0917bb84701d09e1a395e (patch)
tree376dfff5540203d1353c9bdc8c3823019dca3dd0 /indra/llinventory
parentf5886bfaff0385acf0a55bc1b8678330ae89442a (diff)
added fast timers to profile inventory LLSD deserialization
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/llinventory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llinventory/llinventory.cpp b/indra/llinventory/llinventory.cpp
index a3caf79519..76760aa414 100644
--- a/indra/llinventory/llinventory.cpp
+++ b/indra/llinventory/llinventory.cpp
@@ -1034,8 +1034,11 @@ void LLInventoryItem::asLLSD( LLSD& sd ) const
sd[INV_CREATION_DATE_LABEL] = (S32) mCreationDate;
}
+LLFastTimer::DeclareTimer FTM_INVENTORY_SD_DESERIALIZE("Inventory SD Deserialize");
+
bool LLInventoryItem::fromLLSD(const LLSD& sd)
{
+ LLFastTimer _(FTM_INVENTORY_SD_DESERIALIZE);
mInventoryType = LLInventoryType::IT_NONE;
mAssetUUID.setNull();
std::string w;