fix Simulation time report

avinationmerge
UbitUmarov 2012-04-24 04:01:29 +01:00
parent f1d6b3e710
commit 95bb2049a0
1 changed files with 7 additions and 0 deletions

View File

@ -286,6 +286,13 @@ namespace OpenSim.Region.Framework.Scenes
sparetime = TotalFrameTime; 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++) for (int i = 0; i < 23; i++)
{ {