diff options
author | Richard Linden <none@none> | 2012-12-01 00:17:04 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-12-01 00:17:04 -0800 |
commit | ca2207bd35c33b13b122f875a5a7d218f94ca3fc (patch) | |
tree | ee3b8dcfabfb9f8239dd5b2b677c52f731b999df /indra/llcommon/lltrace.h | |
parent | ca37317a1473bb79ef8de4f683231700cb9e062c (diff) |
SH-3406 WIP convert fast timers to lltrace system
fixed scale of reported times
moved reset calls to happen at same time so we don't show partial results
Diffstat (limited to 'indra/llcommon/lltrace.h')
-rw-r--r-- | indra/llcommon/lltrace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/lltrace.h b/indra/llcommon/lltrace.h index ad9f170aae..3e43a85e80 100644 --- a/indra/llcommon/lltrace.h +++ b/indra/llcommon/lltrace.h @@ -223,7 +223,8 @@ namespace LLTrace LL_FORCE_INLINE ACCUMULATOR& getPrimaryAccumulator() const { - return AccumulatorBuffer<ACCUMULATOR>::getPrimaryStorage()[mAccumulatorIndex]; + ACCUMULATOR* accumulator_storage = AccumulatorBuffer<ACCUMULATOR>::getPrimaryStorage(); + return accumulator_storage[mAccumulatorIndex]; } size_t getIndex() const { return mAccumulatorIndex; } |