diff options
Diffstat (limited to 'OpenSim/Framework/Watchdog.cs')
-rw-r--r-- | OpenSim/Framework/Watchdog.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Framework/Watchdog.cs b/OpenSim/Framework/Watchdog.cs index 8e82f5a..0ee0c5b 100644 --- a/OpenSim/Framework/Watchdog.cs +++ b/OpenSim/Framework/Watchdog.cs | |||
@@ -48,6 +48,15 @@ namespace OpenSim.Framework | |||
48 | public class ThreadWatchdogInfo | 48 | public class ThreadWatchdogInfo |
49 | { | 49 | { |
50 | public Thread Thread { get; private set; } | 50 | public Thread Thread { get; private set; } |
51 | |||
52 | /// <summary> | ||
53 | /// Approximate tick when this thread was started. | ||
54 | /// </summary> | ||
55 | public int StartTick { get; private set; } | ||
56 | |||
57 | /// <summary> | ||
58 | /// Last time this heartbeat update was invoked | ||
59 | /// </summary> | ||
51 | public int LastTick { get; set; } | 60 | public int LastTick { get; set; } |
52 | 61 | ||
53 | /// <summary> | 62 | /// <summary> |
@@ -64,7 +73,8 @@ namespace OpenSim.Framework | |||
64 | { | 73 | { |
65 | Thread = thread; | 74 | Thread = thread; |
66 | Timeout = timeout; | 75 | Timeout = timeout; |
67 | LastTick = Environment.TickCount & Int32.MaxValue; | 76 | StartTick = Environment.TickCount & Int32.MaxValue; |
77 | LastTick = StartTick; | ||
68 | } | 78 | } |
69 | } | 79 | } |
70 | 80 | ||