diff options
author | Dave Parks <davep@lindenlab.com> | 2011-07-24 15:10:13 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-07-24 15:10:13 -0500 |
commit | 0f86c26fa5c7c774e43189dd5ef5d68cb81e6dbf (patch) | |
tree | 67f26cd98a492f0aff9d4ccb9a276221fdbc5e3a /indra/llmessage/llioutil.cpp | |
parent | 6df418b7af8b8088f72089dc11401db455c26e13 (diff) | |
parent | 26a9a6929c23eabfef0a53355a392fef0ad26b83 (diff) |
merge
Diffstat (limited to 'indra/llmessage/llioutil.cpp')
-rw-r--r-- | indra/llmessage/llioutil.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llmessage/llioutil.cpp b/indra/llmessage/llioutil.cpp index 2e6ee59ff2..8c50fd5069 100644 --- a/indra/llmessage/llioutil.cpp +++ b/indra/llmessage/llioutil.cpp @@ -43,6 +43,8 @@ LLIOPipe::EStatus LLIOFlush::process_impl( return STATUS_OK; } + +static LLFastTimer::DeclareTimer FTM_PROCESS_SLEEP("IO Sleep"); /** * @class LLIOSleep */ @@ -53,6 +55,7 @@ LLIOPipe::EStatus LLIOSleep::process_impl( LLSD& context, LLPumpIO* pump) { + LLFastTimer t(FTM_PROCESS_SLEEP); if(mSeconds > 0.0) { if(pump) pump->sleepChain(mSeconds); @@ -62,6 +65,7 @@ LLIOPipe::EStatus LLIOSleep::process_impl( return STATUS_DONE; } +static LLFastTimer::DeclareTimer FTM_PROCESS_ADD_CHAIN("Add Chain"); /** * @class LLIOAddChain */ @@ -72,6 +76,7 @@ LLIOPipe::EStatus LLIOAddChain::process_impl( LLSD& context, LLPumpIO* pump) { + LLFastTimer t(FTM_PROCESS_ADD_CHAIN); pump->addChain(mChain, mTimeout); return STATUS_DONE; } |