diff options
author | Justin Clark-Casey (justincc) | 2012-12-05 22:33:28 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-12-05 22:33:46 +0000 |
commit | e8df0f1b4c3194c7f5c1a354b5d5d2f67d6a250c (patch) | |
tree | 11271357c58783e6efce2eafb078d17799829ecb /OpenSim/Region/ScriptEngine/Interfaces | |
parent | Remove very probably unused PrimitiveBaseShape(bool) constructor to reduce co... (diff) | |
download | opensim-SC-e8df0f1b4c3194c7f5c1a354b5d5d2f67d6a250c.zip opensim-SC-e8df0f1b4c3194c7f5c1a354b5d5d2f67d6a250c.tar.gz opensim-SC-e8df0f1b4c3194c7f5c1a354b5d5d2f67d6a250c.tar.bz2 opensim-SC-e8df0f1b4c3194c7f5c1a354b5d5d2f67d6a250c.tar.xz |
Add IScriptInstance.EventsProcessed stat so that we can record this information and display in "show scripts" for debug purposes
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Interfaces')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs index b04f6b6..f3abd96 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | |||
@@ -114,6 +114,11 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
114 | UUID AssetID { get; } | 114 | UUID AssetID { get; } |
115 | Queue EventQueue { get; } | 115 | Queue EventQueue { get; } |
116 | 116 | ||
117 | /// <summary> | ||
118 | /// Number of events processed by this script instance. | ||
119 | /// </summary> | ||
120 | long EventsProcessed { get; } | ||
121 | |||
117 | void ClearQueue(); | 122 | void ClearQueue(); |
118 | int StartParam { get; set; } | 123 | int StartParam { get; set; } |
119 | 124 | ||