Add separate fast timer for the texture fetch thread
parent
fb527506d5
commit
aaadf66edc
|
|
@ -1502,6 +1502,7 @@ static LLTrace::BlockTimerStatHandle FTM_YIELD("Yield");
|
|||
|
||||
static LLTrace::BlockTimerStatHandle FTM_TEXTURE_CACHE("Texture Cache");
|
||||
static LLTrace::BlockTimerStatHandle FTM_DECODE("Image Decode");
|
||||
static LLTrace::BlockTimerStatHandle FTM_TEXTURE_FETCH("Texture Fetch");
|
||||
static LLTrace::BlockTimerStatHandle FTM_VFS("VFS Thread");
|
||||
static LLTrace::BlockTimerStatHandle FTM_LFS("LFS Thread");
|
||||
static LLTrace::BlockTimerStatHandle FTM_PAUSE_THREADS("Pause Threads");
|
||||
|
|
@ -1905,7 +1906,7 @@ S32 LLAppViewer::updateTextureThreads(F32 max_time)
|
|||
work_pending += LLAppViewer::getImageDecodeThread()->update(max_time); // unpauses the image thread
|
||||
}
|
||||
{
|
||||
LL_RECORD_BLOCK_TIME(FTM_DECODE);
|
||||
LL_RECORD_BLOCK_TIME(FTM_TEXTURE_FETCH);
|
||||
work_pending += LLAppViewer::getTextureFetch()->update(max_time); // unpauses the texture fetch thread
|
||||
}
|
||||
return work_pending;
|
||||
|
|
|
|||
Loading…
Reference in New Issue