mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 00:15:45 +08:00
Show Script Time in the statistics panel
The value shown is the number of milliseconds per frame that were spent executing scripts in this region.
This commit is contained in:
@@ -764,6 +764,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||
{
|
||||
timer.Stop();
|
||||
ExecutionTime.AddSample(timer);
|
||||
Part.ParentGroup.Scene.AddScriptExecutionTime(timer.ElapsedTicks);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user