aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Instance
diff options
context:
space:
mode:
authorOren Hurvitz2015-07-31 15:34:43 +0300
committerOren Hurvitz2015-08-11 08:44:26 +0100
commitd24528b3bc2c277edae3507428bfeb23e5d81f57 (patch)
tree87bed067dac438708be872a4ebc892de0e30a4ab /OpenSim/Region/ScriptEngine/Shared/Instance
parentChanged "Script Execution Time" to be the gross time, i.e. including handling... (diff)
downloadopensim-SC-d24528b3bc2c277edae3507428bfeb23e5d81f57.zip
opensim-SC-d24528b3bc2c277edae3507428bfeb23e5d81f57.tar.gz
opensim-SC-d24528b3bc2c277edae3507428bfeb23e5d81f57.tar.bz2
opensim-SC-d24528b3bc2c277edae3507428bfeb23e5d81f57.tar.xz
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.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index 24b33f8..042c30c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -764,6 +764,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
764 { 764 {
765 timer.Stop(); 765 timer.Stop();
766 ExecutionTime.AddSample(timer); 766 ExecutionTime.AddSample(timer);
767 Part.ParentGroup.Scene.AddScriptExecutionTime(timer.ElapsedTicks);
767 } 768 }
768 } 769 }
769 } 770 }