aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llframestats.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llframestats.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llframestats.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/linden/indra/newview/llframestats.h b/linden/indra/newview/llframestats.h
index 7b4da19..dde443f 100644
--- a/linden/indra/newview/llframestats.h
+++ b/linden/indra/newview/llframestats.h
@@ -80,10 +80,8 @@ public:
80 80
81 void dump(); 81 void dump();
82 82
83 const char *getCurStatName() const;
84
85 LLStat &getStat(const S32 i) { return mStats[i]; } 83 LLStat &getStat(const S32 i) { return mStats[i]; }
86 const char *getStatLabel(const S32 i) const { return sStatLabels[i]; } 84 const std::string& getStatLabel(const S32 i) const { return sStatLabels[i]; } // array of const char*'s
87 LLColor4 getStatColor(const S32 i) const { return sStatColors[i]; } 85 LLColor4 getStatColor(const S32 i) const { return sStatColors[i]; }
88 86
89 static void startLogging(void *); 87 static void startLogging(void *);
@@ -107,8 +105,8 @@ private:
107 S32 mNumVorbisDecodes; 105 S32 mNumVorbisDecodes;
108 }; 106 };
109 107
110 LLString mFilename; 108 std::string mFilename;
111 LLString mSummaryFilename; 109 std::string mSummaryFilename;
112 110
113 BOOL mTrackStats; 111 BOOL mTrackStats;
114 LLTimer mTimer; 112 LLTimer mTimer;
@@ -118,7 +116,7 @@ private:
118 EStat mCurrentStat; 116 EStat mCurrentStat;
119 117
120 LLStat mStats[NUM_STATS]; 118 LLStat mStats[NUM_STATS];
121 static char *sStatLabels[NUM_STATS]; 119 static std::string sStatLabels[NUM_STATS];
122 static LLColor4 sStatColors[NUM_STATS]; 120 static LLColor4 sStatColors[NUM_STATS];
123 LLDynamicArray<FrameData> mFrameData; 121 LLDynamicArray<FrameData> mFrameData;
124 void stop(); 122 void stop();