diff options
Diffstat (limited to 'linden/indra/newview/llframestats.cpp')
-rw-r--r-- | linden/indra/newview/llframestats.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linden/indra/newview/llframestats.cpp b/linden/indra/newview/llframestats.cpp index 26a1960..f67c3b8 100644 --- a/linden/indra/newview/llframestats.cpp +++ b/linden/indra/newview/llframestats.cpp | |||
@@ -141,7 +141,6 @@ void LLFrameStats::addFrameData() | |||
141 | frame_data.mTotalDuration = total_duration; | 141 | frame_data.mTotalDuration = total_duration; |
142 | frame_data.mNumTriangles = gPipeline.mTrianglesDrawn; | 142 | frame_data.mNumTriangles = gPipeline.mTrianglesDrawn; |
143 | frame_data.mNumObjects = gObjectList.getNumObjects(); | 143 | frame_data.mNumObjects = gObjectList.getNumObjects(); |
144 | frame_data.mNumVisibleObjects = gPipeline.getVisibleCount(); | ||
145 | frame_data.mNumFullUpdates = gFullObjectUpdates; | 144 | frame_data.mNumFullUpdates = gFullObjectUpdates; |
146 | frame_data.mNumTerseUpdates = gTerseObjectUpdates; | 145 | frame_data.mNumTerseUpdates = gTerseObjectUpdates; |
147 | 146 | ||
@@ -168,7 +167,6 @@ void LLFrameStats::dump() | |||
168 | S64 total_triangles = 0; | 167 | S64 total_triangles = 0; |
169 | S32 total_frames = mFrameData.count(); | 168 | S32 total_frames = mFrameData.count(); |
170 | S32 total_num_objects = 0; | 169 | S32 total_num_objects = 0; |
171 | S32 total_visible_objects = 0; | ||
172 | 170 | ||
173 | time_t cur_time; | 171 | time_t cur_time; |
174 | char time_str[24]; /* Flawfinder: ignore */ | 172 | char time_str[24]; /* Flawfinder: ignore */ |
@@ -209,7 +207,6 @@ void LLFrameStats::dump() | |||
209 | total_time += mFrameData[i].mTotalDuration; | 207 | total_time += mFrameData[i].mTotalDuration; |
210 | total_triangles += mFrameData[i].mNumTriangles; | 208 | total_triangles += mFrameData[i].mNumTriangles; |
211 | total_num_objects += mFrameData[i].mNumObjects; | 209 | total_num_objects += mFrameData[i].mNumObjects; |
212 | total_visible_objects += mFrameData[i].mNumVisibleObjects; | ||
213 | 210 | ||
214 | fprintf(fp, "%f\t%d\t", mFrameData[i].mTotalDuration, mFrameData[i].mNumTriangles); | 211 | fprintf(fp, "%f\t%d\t", mFrameData[i].mTotalDuration, mFrameData[i].mNumTriangles); |
215 | S32 j; | 212 | S32 j; |
@@ -246,7 +243,6 @@ void LLFrameStats::dump() | |||
246 | fprintf(fp, "Triangles/sec: %f\n", total_triangles/total_time); | 243 | fprintf(fp, "Triangles/sec: %f\n", total_triangles/total_time); |
247 | fprintf(fp, "Triangles/frame: %f\n", (F32)total_triangles/(F32)total_frames); | 244 | fprintf(fp, "Triangles/frame: %f\n", (F32)total_triangles/(F32)total_frames); |
248 | fprintf(fp, "All Objects/frame: %f\n", (F32)total_num_objects/(F32)total_frames); | 245 | fprintf(fp, "All Objects/frame: %f\n", (F32)total_num_objects/(F32)total_frames); |
249 | fprintf(fp, "Vis Objects/frame: %f\n", (F32)total_visible_objects/(F32)total_frames); | ||
250 | fprintf(fp, "\n"); | 246 | fprintf(fp, "\n"); |
251 | fclose(fp); | 247 | fclose(fp); |
252 | } | 248 | } |