aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-16 01:46:21 +0000
committerJustin Clark-Casey (justincc)2012-03-16 01:46:21 +0000
commit8550a4a07eb581ada9a5dca08b558344d87eebfc (patch)
treee8afb44a477e15445d7230ec19d94b274e9072a7 /OpenSim
parentAggregate script execution times by linksets rather than individual prims. (diff)
downloadopensim-SC_OLD-8550a4a07eb581ada9a5dca08b558344d87eebfc.zip
opensim-SC_OLD-8550a4a07eb581ada9a5dca08b558344d87eebfc.tar.gz
opensim-SC_OLD-8550a4a07eb581ada9a5dca08b558344d87eebfc.tar.bz2
opensim-SC_OLD-8550a4a07eb581ada9a5dca08b558344d87eebfc.tar.xz
In Top Scripts report, don't show scripts with no or less than 1 microsecond of execution time.
This is to make the report clearer and less confusing.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
index 1492861..61d604f 100644
--- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
@@ -904,9 +904,15 @@ namespace OpenSim.Region.CoreModules.World.Estate
904 904
905 foreach (var entry in sortedSceneData) 905 foreach (var entry in sortedSceneData)
906 { 906 {
907 // The object may have been deleted since we received the data.
907 if (entry.Part == null) 908 if (entry.Part == null)
908 continue; 909 continue;
909 910
911 // Don't show scripts that haven't executed or where execution time is below one microsecond in
912 // order to produce a more readable report.
913 if (entry.Measurement < 0.001)
914 continue;
915
910 items++; 916 items++;
911 SceneObjectGroup so = entry.Part.ParentGroup; 917 SceneObjectGroup so = entry.Part.ParentGroup;
912 918