diff options
author | Richard Nelson <none@none> | 2010-07-20 11:31:23 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-07-20 11:31:23 -0700 |
commit | 572e72d8a1cb777b0d60cdfa389f3e397a652da9 (patch) | |
tree | c9e7f05654525d3a5ed2d89267462f92b5e8fd6f /indra/newview/llviewermessage.cpp | |
parent | 4bd450737bf1f5a74a4857932235d7bcbead1388 (diff) | |
parent | 67fb58847981f69cb31c34d7141165ba3f49aef6 (diff) |
merge
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 04eb8164f8..2b6eadcc04 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -3652,6 +3652,7 @@ const F32 THRESHOLD_HEAD_ROT_QDOT = 0.9997f; // ~= 2.5 degrees -- if its less th const F32 MAX_HEAD_ROT_QDOT = 0.99999f; // ~= 0.5 degrees -- if its greater than this then no need to update head_rot // between these values we delay the updates (but no more than one second) +static LLFastTimer::DeclareTimer FTM_AGENT_UPDATE_SEND("Send Message"); void send_agent_update(BOOL force_send, BOOL send_reliable) { @@ -3810,6 +3811,7 @@ void send_agent_update(BOOL force_send, BOOL send_reliable) if (duplicate_count < DUP_MSGS && !gDisconnected) { + LLFastTimer t(FTM_AGENT_UPDATE_SEND); // Build the message msg->newMessageFast(_PREHASH_AgentUpdate); msg->nextBlockFast(_PREHASH_AgentData); |