diff options
author | Richard Linden <none@none> | 2013-10-03 14:30:34 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-10-03 14:30:34 -0700 |
commit | 754e8752a9b9a2e75d425a10cb8a0a6f85ad4bf5 (patch) | |
tree | 8c58bdba12578ccd5267bab122c2a63187abcb7a /indra/llcommon/lltraceaccumulators.h | |
parent | b3d42e9b99db7e14354338383239122ef4cbeade (diff) |
added initial memory usage tracking for lltrace
Diffstat (limited to 'indra/llcommon/lltraceaccumulators.h')
-rw-r--r-- | indra/llcommon/lltraceaccumulators.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcommon/lltraceaccumulators.h b/indra/llcommon/lltraceaccumulators.h index ecc569f5d6..d03c6ce5c0 100644 --- a/indra/llcommon/lltraceaccumulators.h +++ b/indra/llcommon/lltraceaccumulators.h @@ -188,6 +188,11 @@ namespace LLTrace return getNumIndices(); } + size_t capacity() const + { + return mStorageSize; + } + static size_t getNumIndices() { return sNextStorageSlot; @@ -536,6 +541,7 @@ namespace LLTrace struct AccumulatorBufferGroup : public LLRefCount { AccumulatorBufferGroup(); + ~AccumulatorBufferGroup(); void handOffTo(AccumulatorBufferGroup& other); void makeCurrent(); |