diff options
author | Talun | 2012-04-10 21:25:05 +0100 |
---|---|---|
committer | nebadon | 2012-04-12 18:44:00 -0700 |
commit | 08e509978d81cb3451c205ed59648e3f5da91344 (patch) | |
tree | e8fb382ef1661c2d370c64915a05376b295c551e /OpenSim/Region/Framework/Interfaces | |
parent | make changes to FlotsamCache.ini.example as noted in mantis #5960 (diff) | |
download | opensim-SC-08e509978d81cb3451c205ed59648e3f5da91344.zip opensim-SC-08e509978d81cb3451c205ed59648e3f5da91344.tar.gz opensim-SC-08e509978d81cb3451c205ed59648e3f5da91344.tar.bz2 opensim-SC-08e509978d81cb3451c205ed59648e3f5da91344.tar.xz |
Mantis 55025 Implement script time.
Signed-off-by: nebadon <michael@osgrid.org>
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | 12 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IScriptModule.cs | 8 |
2 files changed, 19 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs index f5dda34..30ed7d1 100644 --- a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs +++ b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | |||
@@ -172,7 +172,17 @@ namespace OpenSim.Region.Framework.Interfaces | |||
172 | /// If no inventory item has that name then an empty list is returned. | 172 | /// If no inventory item has that name then an empty list is returned. |
173 | /// </returns> | 173 | /// </returns> |
174 | List<TaskInventoryItem> GetInventoryItems(string name); | 174 | List<TaskInventoryItem> GetInventoryItems(string name); |
175 | 175 | ||
176 | /// <summary> | ||
177 | /// Get inventory items by type. | ||
178 | /// </summary> | ||
179 | /// <param type="name"></param> | ||
180 | /// <returns> | ||
181 | /// A list of inventory items of that type. | ||
182 | /// If no inventory items of that type then an empty list is returned. | ||
183 | /// </returns> | ||
184 | List<TaskInventoryItem> GetInventoryItems(InventoryType type); | ||
185 | |||
176 | /// <summary> | 186 | /// <summary> |
177 | /// Get the scene object referenced by an inventory item. | 187 | /// Get the scene object referenced by an inventory item. |
178 | /// </summary> | 188 | /// </summary> |
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs index c0616ed..0d488df 100644 --- a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs | |||
@@ -83,6 +83,14 @@ namespace OpenSim.Region.Framework.Interfaces | |||
83 | void StartProcessing(); | 83 | void StartProcessing(); |
84 | 84 | ||
85 | /// <summary> | 85 | /// <summary> |
86 | /// Get the execution times of all scripts in the given array if they are currently running. | ||
87 | /// </summary> | ||
88 | /// <returns> | ||
89 | /// A float the value is a representative execution time in milliseconds of all scripts in that Array. | ||
90 | /// </returns> | ||
91 | float GetScriptExecutionTime(List<UUID> itemIDs); | ||
92 | |||
93 | /// <summary> | ||
86 | /// Get the execution times of all scripts in each object. | 94 | /// Get the execution times of all scripts in each object. |
87 | /// </summary> | 95 | /// </summary> |
88 | /// <returns> | 96 | /// <returns> |