diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-31 12:26:23 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-31 12:26:23 -0500 |
commit | bbb4fb10a50495669ec5d49da4a39950a5e2042d (patch) | |
tree | 8924813e2b9a356bc1f50ad6db9dccb683c10146 /indra/newview/llviewerwindow.cpp | |
parent | 0d5b0cad146d2ce4a24256845b36c4eee847f7ad (diff) | |
parent | dd859c5e3eee97db614edc94d36b25d138fa9c5c (diff) |
merge changes for storm-643
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 166b110412..ca0478ee0c 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -351,6 +351,14 @@ public: addText(xpos, ypos, llformat("Time: %d:%02d:%02d", hours,mins,secs)); ypos += y_inc; } +#if LL_WINDOWS + if (gSavedSettings.getBOOL("DebugShowMemory")) + { + addText(xpos, ypos, llformat("Memory: %d (KB)", LLMemory::getWorkingSetSize() / 1024)); + ypos += y_inc; + } +#endif + if (gDisplayCameraPos) { std::string camera_view_text; |