summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-10-15 19:43:35 -0700
committerRichard Linden <none@none>2012-10-15 19:43:35 -0700
commit8d2f7a526545a10cd3669bf837a0b6f02cf5fe71 (patch)
tree90c7fdd0a64a2364d3e7ab636f467a776c2f1676 /indra/llui
parent041dfccd1ea5b59c1b3c4e37e9a5495cad342c8f (diff)
SH-3405 WIP convert existing stats to lltrace system
converted all remaining LLViewerStats to lltrace
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llstatgraph.cpp2
-rw-r--r--indra/llui/llstatgraph.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/llui/llstatgraph.cpp b/indra/llui/llstatgraph.cpp
index be3baeea76..e961e7d3c0 100644
--- a/indra/llui/llstatgraph.cpp
+++ b/indra/llui/llstatgraph.cpp
@@ -49,7 +49,7 @@ LLStatGraph::LLStatGraph(const Params& p)
mPrecision(p.precision),
mValue(p.value),
mStatp(p.stat.legacy_stat),
- mNewStatp(p.stat.rate_stat)
+ mNewStatp(p.stat.count_stat)
{
setToolTip(p.name());
diff --git a/indra/llui/llstatgraph.h b/indra/llui/llstatgraph.h
index 54a959f49e..5bbd9e9d24 100644
--- a/indra/llui/llstatgraph.h
+++ b/indra/llui/llstatgraph.h
@@ -60,7 +60,8 @@ public:
struct StatParams : public LLInitParam::ChoiceBlock<StatParams>
{
Alternative<LLStat*> legacy_stat;
- Alternative<LLTrace::Count<>* > rate_stat;
+ Alternative<LLTrace::Count<>* > count_stat;
+ Alternative<LLTrace::Measurement<>* > measurement_stat;
};
struct Params : public LLInitParam::Block<Params, LLView::Params>