summaryrefslogtreecommitdiff
path: root/indra/llcommon/lltracerecording.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-10-05 10:51:38 -0700
committerRichard Linden <none@none>2012-10-05 10:51:38 -0700
commit4dce574a8d604a501ec3c12eef3f5d03ee188473 (patch)
tree07ef22f8a119223e799481c052bde8f95ac4a1c9 /indra/llcommon/lltracerecording.cpp
parent3960fdf9e01619ddfd7903bcdd8d894f432752d0 (diff)
SH-3405 WIP convert existing stats to lltrace system
added update() method to trace recorders to allow mid-collection snapshots
Diffstat (limited to 'indra/llcommon/lltracerecording.cpp')
-rw-r--r--indra/llcommon/lltracerecording.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcommon/lltracerecording.cpp b/indra/llcommon/lltracerecording.cpp
index e4cff551f9..c44cc8a8a7 100644
--- a/indra/llcommon/lltracerecording.cpp
+++ b/indra/llcommon/lltracerecording.cpp
@@ -63,6 +63,12 @@ void Recording::reset()
mSamplingTimer.reset();
}
+void Recording::update()
+{
+ mElapsedSeconds = 0.0;
+ mSamplingTimer.reset();
+}
+
void Recording::resume()
{
if (!mIsStarted)