Add IScriptInstance.EventsProcessed stat so that we can record this information and display in "show scripts" for debug purposes

This commit is contained in:
Justin Clark-Casey (justincc)
2012-12-05 22:33:28 +00:00
parent 0f3ebe0971
commit e8df0f1b4c
3 changed files with 10 additions and 0 deletions

View File

@@ -114,6 +114,11 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
UUID AssetID { get; }
Queue EventQueue { get; }
/// <summary>
/// Number of events processed by this script instance.
/// </summary>
long EventsProcessed { get; }
void ClearQueue();
int StartParam { get; set; }