SH-3275 WIP interesting Update viewer metrics system to be more flexible
quantized fast timer range to nearest 20ms for easier readingmaster
parent
eb6c8959ca
commit
b49cdb1c7a
|
|
@ -1402,6 +1402,8 @@ void LLFastTimerView::updateTotalTime()
|
|||
mTotalTimeDisplay = LLUnit<LLUnits::Milliseconds, F32>(100);
|
||||
break;
|
||||
}
|
||||
|
||||
mTotalTimeDisplay = LLUnit<LLUnits::Milliseconds, F64>(llceil(mTotalTimeDisplay.as<LLUnits::Milliseconds, F64>().value() / (20.f)) * 20.f);
|
||||
}
|
||||
|
||||
void LLFastTimerView::drawBars()
|
||||
|
|
|
|||
Loading…
Reference in New Issue