diff options
author | Richard Linden <none@none> | 2013-08-09 16:14:19 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-08-09 16:14:19 -0700 |
commit | 8d3daa141e9ea14f533559843d77ab5c0f715421 (patch) | |
tree | 6cada1f722a2965e12ff2a565d1cc1af2768b416 /indra/llcommon/lltracerecording.h | |
parent | f7d90f8bb9885dc05cdaf1a6ececd4261e8dda92 (diff) |
SH-4374 FIX Interesting: Statistics Object cache hit rate is always 100%
moved object cache sampling code so that it actually gets executed
default values for stats are NaN instead of 0 in many cases
Diffstat (limited to 'indra/llcommon/lltracerecording.h')
-rw-r--r-- | indra/llcommon/lltracerecording.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/lltracerecording.h b/indra/llcommon/lltracerecording.h index 51b411b7bd..7ee8aba874 100644 --- a/indra/llcommon/lltracerecording.h +++ b/indra/llcommon/lltracerecording.h @@ -248,6 +248,8 @@ namespace LLTrace U32 getSampleCount(const TraceType<SampleAccumulator>& stat); // EventStatHandle accessors + bool hasValue(const TraceType<EventAccumulator>& stat); + F64 getSum(const TraceType<EventAccumulator>& stat); template <typename T> typename RelatedTypes<T>::sum_t getSum(const EventStatHandle<T>& stat) |