summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-05-22 21:19:46 -0700
committerRichard Linden <none@none>2013-05-22 21:19:46 -0700
commite8daeb177deccff29182ee97c143b0350e8c727c (patch)
tree642513111b05d078c2137fac47d3af4eb7b9d971 /indra
parent11cee0c140af90564f5616d3464f29abae4d585f (diff)
SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
clean up of llscenemonitor.cpp
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llscenemonitor.cpp8
-rw-r--r--indra/newview/llscenemonitor.h9
2 files changed, 0 insertions, 17 deletions
diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp
index b303dfbdb4..94c2e40bb1 100644
--- a/indra/newview/llscenemonitor.cpp
+++ b/indra/newview/llscenemonitor.cpp
@@ -496,14 +496,6 @@ void LLSceneMonitor::fetchQueryResult()
}
}
-void LLSceneMonitor::addMonitorResult()
-{
- ll_monitor_result_t result;
- result.mTimeStamp = LLImageGL::sLastFrameTime;
- result.mDiff = mDiffResult;
- mMonitorResults.push_back(result);
-}
-
//dump results to a file _scene_xmonitor_results.csv
void LLSceneMonitor::dumpToFile(std::string file_name)
{
diff --git a/indra/newview/llscenemonitor.h b/indra/newview/llscenemonitor.h
index f43c455f2f..3351ed0579 100644
--- a/indra/newview/llscenemonitor.h
+++ b/indra/newview/llscenemonitor.h
@@ -73,7 +73,6 @@ private:
LLRenderTarget& getCaptureTarget();
void generateDitheringTexture(S32 width, S32 height);
- void addMonitorResult();
private:
bool mEnabled;
bool mDebugViewerVisible;
@@ -105,14 +104,6 @@ private:
std::vector<LLAnimPauseRequest> mAvatarPauseHandles;
LLTrace::ExtendablePeriodicRecording* mRecording;
-
- //---------------------------------------
- typedef struct _monitor_result
- {
- F32 mTimeStamp;
- F32 mDiff;
- } ll_monitor_result_t;
- std::vector<ll_monitor_result_t> mMonitorResults;
};
class LLSceneMonitorView : public LLFloater