diff options
author | Richard Nelson <richard@lindenlab.com> | 2011-09-14 10:50:32 -0700 |
---|---|---|
committer | Richard Nelson <richard@lindenlab.com> | 2011-09-14 10:50:32 -0700 |
commit | 8b7c07651c4e2c57e06c283243b30e03da327b42 (patch) | |
tree | fd220455dc7d762c67badba9f18f3187e7e11543 /indra/newview/llfasttimerview.h | |
parent | aa75136e1a0ae4adec7693fce8620a9b1034cf91 (diff) |
improved fast timers display
can move and resize
better visualization of timer history
can click drag to browse history
increased frame history to 300
Diffstat (limited to 'indra/newview/llfasttimerview.h')
-rw-r--r-- | indra/newview/llfasttimerview.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llfasttimerview.h b/indra/newview/llfasttimerview.h index ea8251191b..a349e7ad4c 100644 --- a/indra/newview/llfasttimerview.h +++ b/indra/newview/llfasttimerview.h @@ -33,8 +33,9 @@ class LLFastTimerView : public LLFloater { public: - LLFastTimerView(const LLRect& rect); - + LLFastTimerView(const LLSD&); + BOOL postBuild(); + static BOOL sAnalyzePerformance; static void outputAllMetrics(); @@ -44,6 +45,7 @@ private: static void doAnalysisDefault(std::string baseline, std::string target, std::string output) ; static LLSD analyzePerformanceLogDefault(std::istream& is) ; static void exportCharts(const std::string& base, const std::string& target); + void onPause(); public: @@ -89,6 +91,7 @@ private: LLFrameTimer mHighlightTimer; S32 mPrintStats; S32 mAverageCyclesPerTimer; + LLRect mGraphRect; }; #endif |