diff options
author | Richard Linden <none@none> | 2013-02-05 11:31:45 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2013-02-05 11:31:45 -0800 |
commit | b49cdb1c7aee0f02e9f7eedee9295424e4dec213 (patch) | |
tree | 8e81025025bf488d33451979f73c222043191c86 | |
parent | eb6c8959ca5b8b3c100114d4d659a48bb4d56b2c (diff) |
SH-3275 WIP interesting Update viewer metrics system to be more flexible
quantized fast timer range to nearest 20ms for easier reading
-rw-r--r-- | indra/newview/llfasttimerview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<LLUnits::Milliseconds, F32>(100); break; } + + mTotalTimeDisplay = LLUnit<LLUnits::Milliseconds, F64>(llceil(mTotalTimeDisplay.as<LLUnits::Milliseconds, F64>().value() / (20.f)) * 20.f); } void LLFastTimerView::drawBars() |