diff options
author | Justin Clark-Casey (justincc) | 2014-08-26 17:37:18 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-08-26 18:13:38 +0100 |
commit | 64f640f9019b0ecc65e1e2038acde306db425ebb (patch) | |
tree | 1eac847cc2579eabc52255ff55e1c9a9817b4637 /OpenSim/Region/ClientStack/Linden/UDP | |
parent | Add back URL endings in examples (diff) | |
download | opensim-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/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs index e2178e5..39d1875 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | |||
@@ -49,7 +49,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
49 | m_regStatus = RegionStatus.Up; | 49 | m_regStatus = RegionStatus.Up; |
50 | } | 50 | } |
51 | 51 | ||
52 | public override void Update(int frames) {} | 52 | public override bool Update(int frames) { return true; } |
53 | public override void LoadWorldMap() {} | 53 | public override void LoadWorldMap() {} |
54 | 54 | ||
55 | public override ISceneAgent AddNewAgent(IClientAPI client, PresenceType type) | 55 | public override ISceneAgent AddNewAgent(IClientAPI client, PresenceType type) |