summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-02-13 15:21:20 -0800
committerRichard Linden <none@none>2013-02-13 15:21:20 -0800
commita6bb68b6e530df91d03abfc062c700ebc4e856aa (patch)
tree6de29fa58096c64b376783c8b05dd8f17ac9b440 /indra/newview
parent67ac6e7a294bd7401c55ed1d7423166dda1c0ee6 (diff)
SH-3275 FIX interesting Update viewer metrics system to be more flexible
fix for inaccurate optimization of full block time calculations
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfasttimerview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp
index 1a1a4a8b44..3893b0e772 100644
--- a/indra/newview/llfasttimerview.cpp
+++ b/indra/newview/llfasttimerview.cpp
@@ -1403,7 +1403,7 @@ void LLFastTimerView::updateTotalTime()
break;
}
- mTotalTimeDisplay = LLUnit<LLUnits::Milliseconds, F32>(llceil(mTotalTimeDisplay.as<LLUnits::Milliseconds, F32>().value() / (20.f)) * 20.f);
+ mTotalTimeDisplay = LLUnit<LLUnits::Milliseconds, F32>(llceil(mTotalTimeDisplay.as<LLUnits::Milliseconds>().value() / 20.f) * 20.f);
}
void LLFastTimerView::drawBars()