diff options
author | Richard Linden <none@none> | 2013-10-24 14:39:19 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-10-24 14:39:19 -0700 |
commit | d13f26a6fcde03f5464e986b204b2fbb5848d861 (patch) | |
tree | abebd18faa3bd63c75cf35bf0e6742e1f13d36f2 /indra/newview | |
parent | dc60a7564abf16cbf269e47cfc33ed00c6bb0870 (diff) | |
parent | ab43be5ddb50198304de1ae0e82b641c7d343449 (diff) |
Merge
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llappviewer.cpp | 32 | ||||
-rwxr-xr-x | indra/newview/llfasttimerview.cpp | 4 | ||||
-rwxr-xr-x | indra/newview/llviewermenu.cpp | 2 |
3 files changed, 19 insertions, 19 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 0c9baec00a..7acb3e3b26 100755 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -627,7 +627,7 @@ public: while (!LLAppViewer::instance()->isQuitting()) { - LLTrace::BlockTimerStatHandle::writeLog(os); + LLTrace::BlockTimer::writeLog(os); os.flush(); ms_sleep(32); } @@ -1315,9 +1315,9 @@ bool LLAppViewer::mainLoop() #endif { LL_RECORD_BLOCK_TIME(FTM_FRAME); - LLTrace::BlockTimerStatHandle::processTimes(); + LLTrace::BlockTimer::processTimes(); LLTrace::get_frame_recording().nextPeriod(); - LLTrace::BlockTimerStatHandle::logStats(); + LLTrace::BlockTimer::logStats(); LLTrace::get_master_thread_recorder()->pullFromChildren(); @@ -1662,9 +1662,9 @@ bool LLAppViewer::cleanup() if (LLFastTimerView::sAnalyzePerformance) { LL_INFOS() << "Analyzing performance" << LL_ENDL; - std::string baseline_name = LLTrace::BlockTimerStatHandle::sLogName + "_baseline.slp"; - std::string current_name = LLTrace::BlockTimerStatHandle::sLogName + ".slp"; - std::string report_name = LLTrace::BlockTimerStatHandle::sLogName + "_report.csv"; + std::string baseline_name = LLTrace::BlockTimer::sLogName + "_baseline.slp"; + std::string current_name = LLTrace::BlockTimer::sLogName + ".slp"; + std::string report_name = LLTrace::BlockTimer::sLogName + "_report.csv"; LLFastTimerView::doAnalysis( gDirUtilp->getExpandedFilename(LL_PATH_LOGS, baseline_name), @@ -2018,9 +2018,9 @@ bool LLAppViewer::cleanup() { LL_INFOS() << "Analyzing performance" << LL_ENDL; - std::string baseline_name = LLTrace::BlockTimerStatHandle::sLogName + "_baseline.slp"; - std::string current_name = LLTrace::BlockTimerStatHandle::sLogName + ".slp"; - std::string report_name = LLTrace::BlockTimerStatHandle::sLogName + "_report.csv"; + std::string baseline_name = LLTrace::BlockTimer::sLogName + "_baseline.slp"; + std::string current_name = LLTrace::BlockTimer::sLogName + ".slp"; + std::string report_name = LLTrace::BlockTimer::sLogName + "_report.csv"; LLFastTimerView::doAnalysis( gDirUtilp->getExpandedFilename(LL_PATH_LOGS, baseline_name), @@ -2139,10 +2139,10 @@ bool LLAppViewer::initThreads() enable_threads && true, app_metrics_qa_mode); - if (LLTrace::BlockTimerStatHandle::sLog || LLTrace::BlockTimerStatHandle::sMetricLog) + if (LLTrace::BlockTimer::sLog || LLTrace::BlockTimer::sMetricLog) { - LLTrace::BlockTimerStatHandle::setLogLock(new LLMutex(NULL)); - mFastTimerLogThread = new LLFastTimerLogThread(LLTrace::BlockTimerStatHandle::sLogName); + LLTrace::BlockTimer::setLogLock(new LLMutex(NULL)); + mFastTimerLogThread = new LLFastTimerLogThread(LLTrace::BlockTimer::sLogName); mFastTimerLogThread->start(); } @@ -2597,18 +2597,18 @@ bool LLAppViewer::initConfiguration() if (gSavedSettings.getBOOL("LogPerformance")) { - LLTrace::BlockTimerStatHandle::sLog = true; - LLTrace::BlockTimerStatHandle::sLogName = std::string("performance"); + LLTrace::BlockTimer::sLog = true; + LLTrace::BlockTimer::sLogName = std::string("performance"); } std::string test_name(gSavedSettings.getString("LogMetrics")); if (! test_name.empty()) { - LLTrace::BlockTimerStatHandle::sMetricLog = TRUE ; + LLTrace::BlockTimer::sMetricLog = TRUE ; // '--logmetrics' is specified with a named test metric argument so the data gathering is done only on that test // In the absence of argument, every metric would be gathered (makes for a rather slow run and hard to decipher report...) LL_INFOS() << "'--logmetrics' argument : " << test_name << LL_ENDL; - LLTrace::BlockTimerStatHandle::sLogName = test_name; + LLTrace::BlockTimer::sLogName = test_name; } if (clp.hasOption("graphicslevel")) diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp index 302cecb5b6..bd92b4b6ca 100755 --- a/indra/newview/llfasttimerview.cpp +++ b/indra/newview/llfasttimerview.cpp @@ -924,13 +924,13 @@ void LLFastTimerView::outputAllMetrics() //static void LLFastTimerView::doAnalysis(std::string baseline, std::string target, std::string output) { - if(BlockTimerStatHandle::sLog) + if(BlockTimer::sLog) { doAnalysisDefault(baseline, target, output) ; return ; } - if(BlockTimerStatHandle::sMetricLog) + if(BlockTimer::sMetricLog) { LLMetricPerformanceTesterBasic::doAnalysisMetrics(baseline, target, output) ; return ; diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 4b0957679c..05b1236df5 100755 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -7491,7 +7491,7 @@ void handle_dump_avatar_local_textures(void*) void handle_dump_timers() { - LLTrace::BlockTimerStatHandle::dumpCurTimes(); + LLTrace::BlockTimer::dumpCurTimes(); } void handle_debug_avatar_textures(void*) |