summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-04-19 17:12:49 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-04-19 17:12:49 -0400
commit08704b36f6850d2d2fd29bb984238f760215356a (patch)
tree6d55f10a180d2404684a4c0d5db510169490d0cf /indra/newview/llstartup.cpp
parent7fbf42dec8bae638b62676c280b3f042f9458057 (diff)
startup phase tracking added to appearance metrics
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rwxr-xr-xindra/newview/llstartup.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 31343ee908..8586900b9c 100755
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -240,6 +240,7 @@ static bool mLoginStatePastUI = false;
boost::scoped_ptr<LLEventPump> LLStartUp::sStateWatcher(new LLEventStream("StartupState"));
boost::scoped_ptr<LLStartupListener> LLStartUp::sListener(new LLStartupListener());
+boost::scoped_ptr<LLViewerStats::PhaseMap> LLStartUp::sPhases(new LLViewerStats::PhaseMap);
//
// local function declaration
@@ -2707,9 +2708,9 @@ void LLStartUp::setStartupState( EStartupState state )
getStartupStateString() << " to " <<
startupStateToString(state) << LL_ENDL;
- selfStopPhase(getStartupStateString());
+ sPhases->stopPhase(getStartupStateString());
gStartupState = state;
- selfStartPhase(getStartupStateString());
+ sPhases->startPhase(getStartupStateString());
postStartupState();
}