diff options
| author | Richard Linden <none@none> | 2012-10-02 15:37:16 -0700 |
|---|---|---|
| committer | Richard Linden <none@none> | 2012-10-02 15:37:16 -0700 |
| commit | dbe9742703cf14db85ec3d16c540efc68dce95a6 (patch) | |
| tree | e15c2814f98a4cbdcd9d281ce4762f2fca5a86a5 /indra/llui/llstatgraph.cpp | |
| parent | 14b1b0b2bb6bac5bc688cc4d14c33f1b680dd3b4 (diff) | |
SH-3404 create sampler class
renamed LLTrace::ThreadTrace to LLTrace::ThreadRecorder
renamed LLTrace::Sampler to LLTrace::Recording
Diffstat (limited to 'indra/llui/llstatgraph.cpp')
| -rw-r--r-- | indra/llui/llstatgraph.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llui/llstatgraph.cpp b/indra/llui/llstatgraph.cpp index e0d7623999..aed9e4ec93 100644 --- a/indra/llui/llstatgraph.cpp +++ b/indra/llui/llstatgraph.cpp @@ -35,7 +35,7 @@ #include "llstat.h" #include "llgl.h" #include "llglheaders.h" -#include "lltracesampler.h" +#include "lltracerecording.h" //#include "llviewercontrol.h" /////////////////////////////////////////////////////////////////////////////////// @@ -85,15 +85,15 @@ void LLStatGraph::draw() } else if (mF32Statp) { - LLTrace::Sampler* sampler = LLTrace::get_thread_trace()->getPrimarySampler(); + LLTrace::Recording* recording = LLTrace::get_thread_recorder()->getPrimaryRecording(); if (mPerSec) { - mValue = sampler->getSum(*mF32Statp) / sampler->getSampleTime(); + mValue = recording->getSum(*mF32Statp) / recording->getSampleTime(); } else { - mValue = sampler->getSum(*mF32Statp); + mValue = recording->getSum(*mF32Statp); } } |
