diff options
author | Richard Linden <none@none> | 2013-09-23 16:07:32 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-09-23 16:07:32 -0700 |
commit | e25b5a359faaf4bb51186235567fcb1fea15e440 (patch) | |
tree | 8af498e5753aa49a56fe6b88224f89cda89d19ad /indra/llcommon/lltracerecording.h | |
parent | b16fb80906b4098b68d8f555998f42a3017ee095 (diff) |
refactored lltrace mem tracking to store allocation and deallocation sizes
at the same time and work better with threads
Diffstat (limited to 'indra/llcommon/lltracerecording.h')
-rw-r--r-- | indra/llcommon/lltracerecording.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/indra/llcommon/lltracerecording.h b/indra/llcommon/lltracerecording.h index 2f5cefa8eb..466efe44ce 100644 --- a/indra/llcommon/lltracerecording.h +++ b/indra/llcommon/lltracerecording.h @@ -177,7 +177,7 @@ namespace LLTrace F32 getPerSec(const TraceType<TimeBlockAccumulator::CallCountFacet>& stat); // Memory accessors - bool hasValue(const TraceType<MemStatAccumulator>& stat);
+ bool hasValue(const TraceType<MemStatAccumulator>& stat); bool hasValue(const TraceType<MemStatAccumulator::ShadowMemFacet>& stat); F64Bytes getMin(const TraceType<MemStatAccumulator>& stat); @@ -192,8 +192,21 @@ namespace LLTrace F64Bytes getStandardDeviation(const TraceType<MemStatAccumulator::ShadowMemFacet>& stat); F64Bytes getLastValue(const TraceType<MemStatAccumulator::ShadowMemFacet>& stat); - U32 getSum(const TraceType<MemStatAccumulator::AllocationCountFacet>& stat); - U32 getSum(const TraceType<MemStatAccumulator::DeallocationCountFacet>& stat); + F64Bytes getSum(const TraceType<MemStatAccumulator::AllocationFacet>& stat); + F64Bytes getPerSec(const TraceType<MemStatAccumulator::AllocationFacet>& stat); + U32 getSampleCount(const TraceType<MemStatAccumulator::AllocationFacet>& stat); + + F64Bytes getSum(const TraceType<MemStatAccumulator::DeallocationFacet>& stat); + F64Bytes getPerSec(const TraceType<MemStatAccumulator::DeallocationFacet>& stat); + U32 getSampleCount(const TraceType<MemStatAccumulator::DeallocationFacet>& stat); + + F64Bytes getSum(const TraceType<MemStatAccumulator::ShadowAllocationFacet>& stat); + F64Bytes getPerSec(const TraceType<MemStatAccumulator::ShadowAllocationFacet>& stat); + U32 getSampleCount(const TraceType<MemStatAccumulator::ShadowAllocationFacet>& stat); + + F64Bytes getSum(const TraceType<MemStatAccumulator::ShadowDeallocationFacet>& stat); + F64Bytes getPerSec(const TraceType<MemStatAccumulator::ShadowDeallocationFacet>& stat); + U32 getSampleCount(const TraceType<MemStatAccumulator::ShadowDeallocationFacet>& stat); // CountStatHandle accessors F64 getSum(const TraceType<CountAccumulator>& stat); |