From 95bb2049a08ed61820ac14442ef1d5de382927b7 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 24 Apr 2012 04:01:29 +0100 Subject: fix Simulation time report --- OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/Framework') 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 sparetime = TotalFrameTime; } + // other MS is actually simulation time + // m_otherMS = m_frameMS - m_physicsMS - m_imageMS - m_netMS - m_agentMS; + // m_imageMS m_netMS are not included in m_frameMS + + m_otherMS = m_frameMS - m_physicsMS - m_agentMS; + if (m_otherMS < 0) + m_otherMS = 0; for (int i = 0; i < 23; i++) { -- cgit v1.1