mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Revert "When scripts are sleeping, don't count that as execution time"
The approach is good but the way it is written breaks the architecture.
Rewrite follows.
This reverts commit a568f06b7f.
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
@@ -46,9 +45,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
/// <param name='host'>/param>
|
||||
/// <param name='item'>/param>
|
||||
/// <param name='coopSleepHandle'>/param>
|
||||
/// <param name="executionTimer">The timer used to measure how long the script has executed</param>
|
||||
void Initialize(
|
||||
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle,
|
||||
Stopwatch executionTimer);
|
||||
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user