new fasttimers, including ui.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
|
||||
#include "linden_common.h"
|
||||
#include "llioutil.h"
|
||||
#include "llfasttimer.h"
|
||||
|
||||
/**
|
||||
* LLIOFlush
|
||||
@@ -49,6 +50,8 @@ LLIOPipe::EStatus LLIOFlush::process_impl(
|
||||
return STATUS_OK;
|
||||
}
|
||||
|
||||
|
||||
static LLFastTimer::DeclareTimer FTM_PROCESS_SLEEP("IO Sleep");
|
||||
/**
|
||||
* @class LLIOSleep
|
||||
*/
|
||||
@@ -59,6 +62,7 @@ LLIOPipe::EStatus LLIOSleep::process_impl(
|
||||
LLSD& context,
|
||||
LLPumpIO* pump)
|
||||
{
|
||||
LLFastTimer t(FTM_PROCESS_SLEEP);
|
||||
if(mSeconds > 0.0)
|
||||
{
|
||||
if(pump) pump->sleepChain(mSeconds);
|
||||
@@ -68,6 +72,7 @@ LLIOPipe::EStatus LLIOSleep::process_impl(
|
||||
return STATUS_DONE;
|
||||
}
|
||||
|
||||
static LLFastTimer::DeclareTimer FTM_PROCESS_ADD_CHAIN("Add Chain");
|
||||
/**
|
||||
* @class LLIOAddChain
|
||||
*/
|
||||
@@ -78,6 +83,7 @@ LLIOPipe::EStatus LLIOAddChain::process_impl(
|
||||
LLSD& context,
|
||||
LLPumpIO* pump)
|
||||
{
|
||||
LLFastTimer t(FTM_PROCESS_ADD_CHAIN);
|
||||
pump->addChain(mChain, mTimeout);
|
||||
return STATUS_DONE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user