diff options
author | Justin Clark-Casey (justincc) | 2011-10-06 00:45:25 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-06 00:45:25 +0100 |
commit | ca83f99332316fda1c412a5bf2889f9cf5cf3577 (patch) | |
tree | a1789f55d048ef3bc7dd99adf524125cb34f0efd /OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | |
parent | rename WebStatsModules.m_scene to m_scenes since it's a list of scenes, not a... (diff) | |
download | opensim-SC_OLD-ca83f99332316fda1c412a5bf2889f9cf5cf3577.zip opensim-SC_OLD-ca83f99332316fda1c412a5bf2889f9cf5cf3577.tar.gz opensim-SC_OLD-ca83f99332316fda1c412a5bf2889f9cf5cf3577.tar.bz2 opensim-SC_OLD-ca83f99332316fda1c412a5bf2889f9cf5cf3577.tar.xz |
Instead of adding stat agentMS in all kinds of places, calculate it instead in the main Scene.Update() loop, like the other stats
Some of the places where agentMS was added were in separate threads launched by the update loop. I don't believe this is correct, since such threads are no longer contributing to frame time.
Some of the places were also driven by client input rather than the scene loop. I don't believe it's appropriate to add this kind of stuff to scene loop stats.
These changes hopefully have the nice affect of making the broken out frame stats actually add up to the total frame time
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs index 2d92ed8..282b677 100644 --- a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | |||
@@ -452,12 +452,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
452 | AddOutPackets(outPackets); | 452 | AddOutPackets(outPackets); |
453 | AddunAckedBytes(unAckedBytes); | 453 | AddunAckedBytes(unAckedBytes); |
454 | } | 454 | } |
455 | |||
456 | public void AddAgentTime(int ms) | ||
457 | { | ||
458 | addFrameMS(ms); | ||
459 | addAgentMS(ms); | ||
460 | } | ||
461 | 455 | ||
462 | #endregion | 456 | #endregion |
463 | } | 457 | } |