diff options
author | Steven Zielinski | 2015-04-28 15:52:25 -0400 |
---|---|---|
committer | Steven Zielinski | 2015-04-28 16:56:53 -0400 |
commit | bebdc29effc9c588ea14c98190f029662a0f46a0 (patch) | |
tree | 88dbd4b6342fc6636e11d74c6362703911fe0bc8 /OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | |
parent | Added in all metrics for Phase 1 except for Time Dilation. (diff) | |
download | opensim-SC_OLD-bebdc29effc9c588ea14c98190f029662a0f46a0.zip opensim-SC_OLD-bebdc29effc9c588ea14c98190f029662a0f46a0.tar.gz opensim-SC_OLD-bebdc29effc9c588ea14c98190f029662a0f46a0.tar.bz2 opensim-SC_OLD-bebdc29effc9c588ea14c98190f029662a0f46a0.tar.xz |
Changed the 10 value to be a constant value inside of the Scene called m_DefaultNumberFramesStored.
Test Plan: Tested on windows with the json stats reporter.
Reviewers: rlouden, ssirigam, martin, kboswell, clattin
Differential Revision: http://cr.irl.ucf.edu/D273
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs index 6182bcd..d90d2b3 100755 --- a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | |||
@@ -217,7 +217,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
217 | // the Total, Simulation, Physics, and Network Frame Time; It is set to | 217 | // the Total, Simulation, Physics, and Network Frame Time; It is set to |
218 | // 10 by default but can be changed by the OpenSim.ini configuration file | 218 | // 10 by default but can be changed by the OpenSim.ini configuration file |
219 | // NumberOfFrames parameter | 219 | // NumberOfFrames parameter |
220 | private int m_numberFramesStored = 10; | 220 | private int m_numberFramesStored = Scene.m_DefaultNumberFramesStored; |
221 | 221 | ||
222 | // The arrays that will hold the time it took to run the past N frames, | 222 | // The arrays that will hold the time it took to run the past N frames, |
223 | // where N is the num_frames_to_average given by the configuration file | 223 | // where N is the num_frames_to_average given by the configuration file |