diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-07-16 16:32:12 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-07-16 16:32:12 +0300 |
commit | 84ae60a3b34d92930a74e9207bf39e6335e307a0 (patch) | |
tree | 9f3ce689685e1f72361047e91a7adda52660cbdb /indra/newview | |
parent | 881b12910fe44f479fca50cdee965f602bce3162 (diff) |
SL-15581 Add the function to get median FPS
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloaterperformance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterperformance.cpp b/indra/newview/llfloaterperformance.cpp index a2fb8c130d..879a8f8718 100644 --- a/indra/newview/llfloaterperformance.cpp +++ b/indra/newview/llfloaterperformance.cpp @@ -156,7 +156,7 @@ void LLFloaterPerformance::draw() if (mUpdateTimer->hasExpired()) { - getChild<LLTextBox>("fps_value")->setValue((S32)llround(LLTrace::get_frame_recording().getPeriodMeanPerSec(LLStatViewer::FPS, NUM_PERIODS))); + getChild<LLTextBox>("fps_value")->setValue((S32)llround(LLTrace::get_frame_recording().getPeriodMedianPerSec(LLStatViewer::FPS, NUM_PERIODS))); if (mHUDsPanel->getVisible()) { populateHUDList(); |