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:
Oren Hurvitz
2015-07-31 15:34:43 +03:00
parent 5679cd0100
commit d24528b3bc
3 changed files with 66 additions and 35 deletions

View File

@@ -764,6 +764,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
{
timer.Stop();
ExecutionTime.AddSample(timer);
Part.ParentGroup.Scene.AddScriptExecutionTime(timer.ElapsedTicks);
}
}
}