diff options
author | Oren Hurvitz | 2015-07-31 15:34:43 +0300 |
---|---|---|
committer | Oren Hurvitz | 2015-08-11 08:44:26 +0100 |
commit | d24528b3bc2c277edae3507428bfeb23e5d81f57 (patch) | |
tree | 87bed067dac438708be872a4ebc892de0e30a4ab /OpenSim/Region/ScriptEngine/Shared/Instance | |
parent | Changed "Script Execution Time" to be the gross time, i.e. including handling... (diff) | |
download | opensim-SC_OLD-d24528b3bc2c277edae3507428bfeb23e5d81f57.zip opensim-SC_OLD-d24528b3bc2c277edae3507428bfeb23e5d81f57.tar.gz opensim-SC_OLD-d24528b3bc2c277edae3507428bfeb23e5d81f57.tar.bz2 opensim-SC_OLD-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.cs | 1 |
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 | } |