summaryrefslogtreecommitdiff
path: root/indra/newview/llscenemonitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llscenemonitor.h')
-rw-r--r--indra/newview/llscenemonitor.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llscenemonitor.h b/indra/newview/llscenemonitor.h
index 709650e206..b2bc4763cf 100644
--- a/indra/newview/llscenemonitor.h
+++ b/indra/newview/llscenemonitor.h
@@ -64,6 +64,8 @@ public:
bool needsUpdate() const;
LLTrace::ExtendableRecording* getRecording() const {return mRecording;}
+ void dumpToFile(std::string file_name);
+ bool hasResults() const { return !mMonitorResults.empty();}
private:
void freezeScene();
@@ -72,6 +74,7 @@ private:
bool preCapture();
void generateDitheringTexture(S32 width, S32 height);
+ void addMonitorResult();
private:
BOOL mEnabled;
BOOL mNeedsUpdateDiff;
@@ -99,6 +102,14 @@ private:
std::vector<LLAnimPauseRequest> mAvatarPauseHandles;
LLTrace::ExtendableRecording* mRecording;
+
+ //---------------------------------------
+ typedef struct _monitor_result
+ {
+ F32 mTimeStamp;
+ F32 mDiff;
+ } ll_monitor_result_t;
+ std::vector<ll_monitor_result_t> mMonitorResults;
};
class LLSceneMonitorView : public LLFloater