mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
fix Simulation time report
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user