summaryrefslogtreecommitdiff
path: root/indra/llmessage/llpacketring.h
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-03-22 12:29:32 +0800
committerErik Kundiman <erik@megapahit.org>2025-03-22 12:29:32 +0800
commit53ff8ab675b76f84154cd639fe4fb5f8c0ac3dc7 (patch)
treefae2f97053a1ce15ade8eeecbf6b1e789f4b8498 /indra/llmessage/llpacketring.h
parent2fb48eb9be6df00c3baed955fd84f4d8a1ea1d9a (diff)
parent0ec9bfaabde12d82ba6b840589f849b7cf279417 (diff)
Merge tag 'Second_Life_Release#0ec9bfaa-2025.03' into 2025.03
Diffstat (limited to 'indra/llmessage/llpacketring.h')
-rw-r--r--indra/llmessage/llpacketring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llmessage/llpacketring.h b/indra/llmessage/llpacketring.h
index 237efc12e0..572dcbd271 100644
--- a/indra/llmessage/llpacketring.h
+++ b/indra/llmessage/llpacketring.h
@@ -64,6 +64,7 @@ public:
S32 getNumBufferedBytes() const { return mNumBufferedBytes; }
S32 getNumDroppedPackets() const { return mNumDroppedPacketsTotal + mNumDroppedPackets; }
+ F32 getBufferLoadRate() const; // from 0 to 4 (0 - empty, 1 - default size is full)
void dumpPacketRingStats();
protected:
// returns 'true' if we should intentionally drop a packet