diff options
author | Richard Linden <none@none> | 2013-01-17 20:04:39 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2013-01-17 20:04:39 -0800 |
commit | 0825eb0207a51e0f747fc04e7c9b6bd6a76e86fe (patch) | |
tree | c87749c8e9c98c695aa6daae9a6660582580ae4e /indra/llcommon/lltracethreadrecorder.cpp | |
parent | a0413bdef71d804bbf008cf319f54a5a47efb29c (diff) | |
parent | 670d03ceb83b92c9bb98d10bb37fba6f75971a2f (diff) |
merge
Diffstat (limited to 'indra/llcommon/lltracethreadrecorder.cpp')
-rw-r--r-- | indra/llcommon/lltracethreadrecorder.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llcommon/lltracethreadrecorder.cpp b/indra/llcommon/lltracethreadrecorder.cpp index 7b493a651e..bc1d19e72c 100644 --- a/indra/llcommon/lltracethreadrecorder.cpp +++ b/indra/llcommon/lltracethreadrecorder.cpp @@ -43,7 +43,7 @@ ThreadRecorder::ThreadRecorder() TimeBlock& root_time_block = TimeBlock::getRootTimeBlock(); ThreadTimerStack* timer_stack = ThreadTimerStack::getInstance(); - timer_stack->mTimeBlock = &root_time_block; + timer_stack->mAccumulator = root_time_block.getPrimaryAccumulator(); timer_stack->mActiveTimer = NULL; mNumTimeBlockTreeNodes = AccumulatorBuffer<TimeBlockAccumulator>::getDefaultBuffer()->size(); @@ -61,7 +61,9 @@ ThreadRecorder::ThreadRecorder() tree_node.mBlock = &time_block; tree_node.mParent = &root_time_block; - it->getPrimaryAccumulator()->mParent = &root_time_block; + TimeBlockAccumulator* accumulator = it->getPrimaryAccumulator(); + accumulator->mParent = &root_time_block; + accumulator->mBlock = &time_block; } mRootTimer = new BlockTimer(root_time_block); |