diff options
Diffstat (limited to 'linden/indra/llmessage/llcircuit.h')
-rw-r--r-- | linden/indra/llmessage/llcircuit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/llmessage/llcircuit.h b/linden/indra/llmessage/llcircuit.h index 552b50f..b53c955 100644 --- a/linden/indra/llmessage/llcircuit.h +++ b/linden/indra/llmessage/llcircuit.h | |||
@@ -45,6 +45,7 @@ | |||
45 | #include "llpacketack.h" | 45 | #include "llpacketack.h" |
46 | #include "lluuid.h" | 46 | #include "lluuid.h" |
47 | #include "llthrottle.h" | 47 | #include "llthrottle.h" |
48 | #include "llstat.h" | ||
48 | 49 | ||
49 | // | 50 | // |
50 | // Constants | 51 | // Constants |
@@ -133,6 +134,10 @@ public: | |||
133 | S32 getUnackedPacketCount() const { return mUnackedPacketCount; } | 134 | S32 getUnackedPacketCount() const { return mUnackedPacketCount; } |
134 | S32 getUnackedPacketBytes() const { return mUnackedPacketBytes; } | 135 | S32 getUnackedPacketBytes() const { return mUnackedPacketBytes; } |
135 | F64 getNextPingSendTime() const { return mNextPingSendTime; } | 136 | F64 getNextPingSendTime() const { return mNextPingSendTime; } |
137 | F32 getOutOfOrderRate(LLStatAccum::TimeScale scale = LLStatAccum::SCALE_MINUTE) | ||
138 | { return mOutOfOrderRate.meanValue(scale); } | ||
139 | U32 getLastPacketGap() const { return mLastPacketGap; } | ||
140 | LLHost getHost() const { return mHost; } | ||
136 | 141 | ||
137 | LLThrottleGroup &getThrottleGroup() { return mThrottles; } | 142 | LLThrottleGroup &getThrottleGroup() { return mThrottles; } |
138 | 143 | ||
@@ -276,6 +281,9 @@ protected: | |||
276 | LLTimer mExistenceTimer; // initialized when circuit created, used to track bandwidth numbers | 281 | LLTimer mExistenceTimer; // initialized when circuit created, used to track bandwidth numbers |
277 | 282 | ||
278 | S32 mCurrentResendCount; // Number of resent packets since last spam | 283 | S32 mCurrentResendCount; // Number of resent packets since last spam |
284 | LLStatRate mOutOfOrderRate; // Rate of out of order packets coming in. | ||
285 | U32 mLastPacketGap; // Gap in sequence number of last packet. | ||
286 | |||
279 | }; | 287 | }; |
280 | 288 | ||
281 | 289 | ||