From b49cdb1c7aee0f02e9f7eedee9295424e4dec213 Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Tue, 5 Feb 2013 11:31:45 -0800 Subject: SH-3275 WIP interesting Update viewer metrics system to be more flexible quantized fast timer range to nearest 20ms for easier reading --- indra/newview/llfasttimerview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp index 1562d0e13d..7d23687e21 100644 --- a/indra/newview/llfasttimerview.cpp +++ b/indra/newview/llfasttimerview.cpp @@ -1402,6 +1402,8 @@ void LLFastTimerView::updateTotalTime() mTotalTimeDisplay = LLUnit(100); break; } + + mTotalTimeDisplay = LLUnit(llceil(mTotalTimeDisplay.as().value() / (20.f)) * 20.f); } void LLFastTimerView::drawBars() -- cgit v1.2.3