Skip to content
Snippets Groups Projects
Commit 960f8764 authored by Richard Linden's avatar Richard Linden
Browse files

SH-3405 WIP convert existing stats to lltrace system

added update() method to trace recorders to allow mid-collection snapshots
parent 4dce574a
No related branches found
No related tags found
No related merge requests found
......@@ -65,8 +65,12 @@ void Recording::reset()
void Recording::update()
{
mElapsedSeconds = 0.0;
mSamplingTimer.reset();
if (mIsStarted)
{
LLTrace::get_thread_recorder()->update(this);
mElapsedSeconds = 0.0;
mSamplingTimer.reset();
}
}
void Recording::resume()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment