aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-04-24 04:01:29 +0100
committerUbitUmarov2012-04-24 04:01:29 +0100
commit95bb2049a08ed61820ac14442ef1d5de382927b7 (patch)
treeaf4ef4f4a152ea673ecce7cd847dc802d0dadb42 /OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
parentsome reduction on time resolution efects on spare time report (diff)
downloadopensim-SC_OLD-95bb2049a08ed61820ac14442ef1d5de382927b7.zip
opensim-SC_OLD-95bb2049a08ed61820ac14442ef1d5de382927b7.tar.gz
opensim-SC_OLD-95bb2049a08ed61820ac14442ef1d5de382927b7.tar.bz2
opensim-SC_OLD-95bb2049a08ed61820ac14442ef1d5de382927b7.tar.xz
fix Simulation time report
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SimStatsReporter.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SimStatsReporter.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
index 2d73380..e9589b8 100644
--- a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
+++ b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
@@ -286,6 +286,13 @@ namespace OpenSim.Region.Framework.Scenes
286 sparetime = TotalFrameTime; 286 sparetime = TotalFrameTime;
287 } 287 }
288 288
289 // other MS is actually simulation time
290 // m_otherMS = m_frameMS - m_physicsMS - m_imageMS - m_netMS - m_agentMS;
291 // m_imageMS m_netMS are not included in m_frameMS
292
293 m_otherMS = m_frameMS - m_physicsMS - m_agentMS;
294 if (m_otherMS < 0)
295 m_otherMS = 0;
289 296
290 for (int i = 0; i < 23; i++) 297 for (int i = 0; i < 23; i++)
291 { 298 {