Implement experimental non-default mechanism to update scene via a timer rather than a persistent thread with sleep.

This is to see if an inaccuracy in sleep times under load is responsible for increase in frame times even when there is spare time still available.
Can currently only be activated by setting "debug scene set update-on-timer true".
Can be switched between timer and thread with sleep updates whilst the scene is running.
This commit is contained in:
Justin Clark-Casey (justincc)
2014-08-26 17:37:18 +01:00
parent aeadddf77a
commit 64f640f901
4 changed files with 113 additions and 67 deletions

View File

@@ -49,7 +49,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
m_regStatus = RegionStatus.Up;
}
public override void Update(int frames) {}
public override bool Update(int frames) { return true; }
public override void LoadWorldMap() {}
public override ISceneAgent AddNewAgent(IClientAPI client, PresenceType type)