aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneBase.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-08-26 17:37:18 +0100
committerJustin Clark-Casey (justincc)2014-08-26 18:13:38 +0100
commit64f640f9019b0ecc65e1e2038acde306db425ebb (patch)
tree1eac847cc2579eabc52255ff55e1c9a9817b4637 /OpenSim/Region/Framework/Scenes/SceneBase.cs
parentAdd back URL endings in examples (diff)
downloadopensim-SC_OLD-64f640f9019b0ecc65e1e2038acde306db425ebb.zip
opensim-SC_OLD-64f640f9019b0ecc65e1e2038acde306db425ebb.tar.gz
opensim-SC_OLD-64f640f9019b0ecc65e1e2038acde306db425ebb.tar.bz2
opensim-SC_OLD-64f640f9019b0ecc65e1e2038acde306db425ebb.tar.xz
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.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneBase.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneBase.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs
index 0445268..aaddce6 100644
--- a/OpenSim/Region/Framework/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs
@@ -196,7 +196,8 @@ namespace OpenSim.Region.Framework.Scenes
196 /// Number of frames to update. Exits on shutdown even if there are frames remaining. 196 /// Number of frames to update. Exits on shutdown even if there are frames remaining.
197 /// If -1 then updates until shutdown. 197 /// If -1 then updates until shutdown.
198 /// </param> 198 /// </param>
199 public abstract void Update(int frames); 199 /// <returns>true if update completed within minimum frame time, false otherwise.</returns>
200 public abstract bool Update(int frames);
200 201
201 #endregion 202 #endregion
202 203