diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-01-26 17:03:30 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-01-26 17:03:30 -0700 |
commit | 6531eed04e24239233f79624572219e88017f476 (patch) | |
tree | b1ba1d38648046f2d2a42ae03ad84bdd55518b11 /indra/llcommon/llmemory.h | |
parent | 8f54dc2958e75587165623b0292940200fb49f59 (diff) |
add "pause" function for SH-846: design and implement the debug code to locate memory leaking
Diffstat (limited to 'indra/llcommon/llmemory.h')
-rw-r--r-- | indra/llcommon/llmemory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/llmemory.h b/indra/llcommon/llmemory.h index e6a6a8c3da..11406f59b0 100644 --- a/indra/llcommon/llmemory.h +++ b/indra/llcommon/llmemory.h @@ -63,7 +63,7 @@ public: static LLMemTracker* getInstance() ; void track(const char* function, const int line) ; - void preDraw() ; + void preDraw(BOOL pause) ; void postDraw() ; const char* getNextLine() ; @@ -77,6 +77,7 @@ private: S32 mCounter; S32 mDrawnIndex; S32 mNumOfDrawn; + BOOL mPaused; LLMutex* mMutexp ; }; |