diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-02-07 19:14:00 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-02-07 19:14:00 -0500 |
commit | 99d197d021482ab29ca518d2f2a40462f75fe5a3 (patch) | |
tree | 4771e82b7310f81748bfa87eb1101080bd91ecfa /indra/newview/llviewerstats.h | |
parent | 0897a291d16dc4002765c5eb4ed9e310ee1ba4a4 (diff) |
SH-3852 WIP - track per-timer stats
Diffstat (limited to 'indra/newview/llviewerstats.h')
-rwxr-xr-x | indra/newview/llviewerstats.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llviewerstats.h b/indra/newview/llviewerstats.h index bb11e8c5be..084f5ae7d1 100755 --- a/indra/newview/llviewerstats.h +++ b/indra/newview/llviewerstats.h @@ -289,13 +289,15 @@ public: public: PhaseMap(); LLTimer& getPhaseTimer(const std::string& phase_name); + bool getPhaseValues(const std::string& phase_name, F32& elapsed, bool& completed); void startPhase(const std::string& phase_name); void stopPhase(const std::string& phase_name); - void stopAllPhases(); void clearPhases(); LLSD dumpPhases(); static StatsAccumulator& getPhaseStats(const std::string& phase_name); static void recordPhaseStat(const std::string& phase_name, F32 value); + phase_map_t::iterator begin() { return mPhaseMap.begin(); } + phase_map_t::iterator end() { return mPhaseMap.end(); } }; private: |