summaryrefslogtreecommitdiff
path: root/indra/llcommon/lltrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/lltrace.h')
-rw-r--r--indra/llcommon/lltrace.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llcommon/lltrace.h b/indra/llcommon/lltrace.h
index 3d3ee18100..6323091cb8 100644
--- a/indra/llcommon/lltrace.h
+++ b/indra/llcommon/lltrace.h
@@ -81,16 +81,16 @@ namespace LLTrace
accumulator->mMoveUpTree |= (accumulator->mParent->mActiveCount == 0);
// push new timer on stack
- sRecorderHead->mRecorder = this;
- sRecorderHead->mAccumulator = accumulator;
- sRecorderHead->mChildTime = 0;
+ sRecorderHead.mRecorder = this;
+ sRecorderHead.mAccumulator = accumulator;
+ sRecorderHead.mChildTime = 0;
}
LL_FORCE_INLINE ~Recorder()
{
U32 total_time = getCPUClockCount32() - mStartTime;
- Accumulator* accumulator = sRecorderHead->mAccumulator;
+ Accumulator* accumulator = sRecorderHead.mAccumulator;
accumulator->mSelfTimeCounter += total_time- sRecorderHead.mChildTime;
accumulator->mTotalTimeCounter += total_time;
accumulator->mActiveCount--;