mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
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:
@@ -196,7 +196,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// Number of frames to update. Exits on shutdown even if there are frames remaining.
|
||||
/// If -1 then updates until shutdown.
|
||||
/// </param>
|
||||
public abstract void Update(int frames);
|
||||
/// <returns>true if update completed within minimum frame time, false otherwise.</returns>
|
||||
public abstract bool Update(int frames);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user