summaryrefslogtreecommitdiff
path: root/indra/llcommon/lltracethreadrecorder.h
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/lltracethreadrecorder.h
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/lltracethreadrecorder.h')
-rw-r--r--indra/llcommon/lltracethreadrecorder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/lltracethreadrecorder.h b/indra/llcommon/lltracethreadrecorder.h
index 40441d0447..42230087c0 100644
--- a/indra/llcommon/lltracethreadrecorder.h
+++ b/indra/llcommon/lltracethreadrecorder.h
@@ -37,6 +37,8 @@ namespace LLTrace
{
class LL_COMMON_API ThreadRecorder
{
+ protected:
+ struct ActiveRecording;
public:
ThreadRecorder();
ThreadRecorder(const ThreadRecorder& other);
@@ -44,6 +46,7 @@ namespace LLTrace
virtual ~ThreadRecorder();
void activate(Recording* recording);
+ std::list<struct ActiveRecording>::iterator update(Recording* recording);
void deactivate(Recording* recording);
virtual void pushToMaster() = 0;