summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-10-18 09:14:53 -0700
committerRichard Linden <none@none>2013-10-18 09:14:53 -0700
commit9f097380b85a307db472726175c3515fdeb5aed5 (patch)
treef826df84d9ae357b817bcd17e9e24097b8917af6 /indra/newview
parent18aedf0241ba893e12140c0a3855f328d2b4eded (diff)
removed asserts in order to get testable builds again
added unpause() behavior and changed pause() to do nothing when already stopped
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llappviewer.cpp2
-rwxr-xr-xindra/newview/llviewerassetstats.cpp8
-rwxr-xr-xindra/newview/llviewerassetstats.h4
3 files changed, 0 insertions, 14 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 037a9bda86..0c9baec00a 100755
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -5601,8 +5601,6 @@ void LLAppViewer::metricsSend(bool enable_reporting)
LLViewerAssetStats * main_stats(new LLViewerAssetStats(*gViewerAssetStats));
main_stats->stop();
- main_stats->updateStats();
-
// Send a report request into 'thread1' to get the rest of the data
// and provide some additional parameters while here.
LLAppViewer::sTextureFetch->commandSendMetrics(caps_url,
diff --git a/indra/newview/llviewerassetstats.cpp b/indra/newview/llviewerassetstats.cpp
index e009863002..54ac29723f 100755
--- a/indra/newview/llviewerassetstats.cpp
+++ b/indra/newview/llviewerassetstats.cpp
@@ -353,14 +353,6 @@ void LLViewerAssetStats::setRegion(region_handle_t region_handle)
mRegionHandle = region_handle;
}
-void LLViewerAssetStats::updateStats()
-{
- if (mCurRecording && mCurRecording->isStarted())
- {
- mCurRecording->update();
- }
-}
-
void LLViewerAssetStats::getStats(AssetStats& stats, bool compact_output)
{
using namespace LLViewerAssetStatsFF;
diff --git a/indra/newview/llviewerassetstats.h b/indra/newview/llviewerassetstats.h
index aaa299bf4b..9d425c82fc 100755
--- a/indra/newview/llviewerassetstats.h
+++ b/indra/newview/llviewerassetstats.h
@@ -162,10 +162,6 @@ public:
// collection calls.
void setRegion(region_handle_t region_handle);
- // gather latest metrics data
- // call from main thread
- void updateStats();
-
// Retrieve current metrics for all visited regions (NULL region UUID/handle excluded)
// Uses AssetStats structure seen above
void getStats(AssetStats& stats, bool compact_output);