diff options
author | UbitUmarov | 2015-09-08 14:13:56 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-08 14:13:56 +0100 |
commit | 29d78f7e3a730d650feb365db1c4ccc4267837b0 (patch) | |
tree | a7d8ff9cfbabc205d22bf4ecbdf92715f452aed9 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | fix missing proprieties get, etc (diff) | |
download | opensim-SC-29d78f7e3a730d650feb365db1c4ccc4267837b0.zip opensim-SC-29d78f7e3a730d650feb365db1c4ccc4267837b0.tar.gz opensim-SC-29d78f7e3a730d650feb365db1c4ccc4267837b0.tar.bz2 opensim-SC-29d78f7e3a730d650feb365db1c4ccc4267837b0.tar.xz |
add script events per sec stat, using the time report code, but ignoring the time for nowwq
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 52e03b2..1b26cc3 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1938,6 +1938,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1938 | /// <param name="ticks">Elapsed Stopwatch ticks</param> | 1938 | /// <param name="ticks">Elapsed Stopwatch ticks</param> |
1939 | public void AddScriptExecutionTime(long ticks) | 1939 | public void AddScriptExecutionTime(long ticks) |
1940 | { | 1940 | { |
1941 | StatsReporter.addScriptEvents(1); | ||
1941 | Interlocked.Add(ref m_scriptExecutionTime, ticks); | 1942 | Interlocked.Add(ref m_scriptExecutionTime, ticks); |
1942 | } | 1943 | } |
1943 | 1944 | ||