summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-08-24 16:02:08 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-08-24 20:47:26 +0200
commit57d784f80728f9ecd75f8dbc989cd75cf328c353 (patch)
treee2e0176b0a7842b13e8b578e9acbed5911a2eb48 /indra/newview
parenteca82d7308cbbb3d6c39bb125d261a44604759ba (diff)
SL-18620 Statistics->Advanced->Memory Usage no longer updating
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llscenemonitor.cpp13
-rw-r--r--indra/newview/skins/default/xui/en/floater_stats.xml49
2 files changed, 0 insertions, 62 deletions
diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp
index 7089df677e..c070510b82 100644
--- a/indra/newview/llscenemonitor.cpp
+++ b/indra/newview/llscenemonitor.cpp
@@ -657,19 +657,6 @@ void LLSceneMonitor::dumpToFile(const std::string &file_name)
}
}
- typedef LLTrace::StatType<LLTrace::MemAccumulator> trace_mem;
- for (auto& it : trace_mem::instance_snapshot())
- {
- os << it.getName() << "(KiB)";
-
- for (S32 frame = 1; frame <= frame_count; frame++)
- {
- os << ", " << scene_load_recording.getPrevRecording(frame_count - frame).getMax(it).valueInUnits<LLUnits::Kilobytes>();
- }
-
- os << '\n';
- }
-
os.flush();
os.close();
}
diff --git a/indra/newview/skins/default/xui/en/floater_stats.xml b/indra/newview/skins/default/xui/en/floater_stats.xml
index 0fde6a329a..63402f3856 100644
--- a/indra/newview/skins/default/xui/en/floater_stats.xml
+++ b/indra/newview/skins/default/xui/en/floater_stats.xml
@@ -134,55 +134,6 @@
label="Bound Mem"
stat="glboundmemstat"/>
</stat_view>
- <stat_view name="memory"
- label="Memory Usage"
- setting="OpenDebugStatMemory">
- <stat_bar name="LLTrace"
- label="LLTrace"
- stat="LLTrace"/>
- <stat_bar name="LLView"
- label="UI"
- stat="LLView"/>
- <stat_bar name="LLFontFreetype"
- label="Fonts"
- stat="LLFontFreetype"/>
- <stat_bar name="LLInventoryObject"
- label="Inventory"
- stat="LLInventoryObject"/>
- <stat_bar name="LLViewerObject"
- label="Viewer Objects"
- stat="LLViewerObject"/>
- <stat_bar name="LLViewerOctreeGroup"
- label="Octree Group Data"
- stat="LLViewerOctreeGroup"/>
- <stat_bar name="LLViewerOctreeEntry"
- label="Octree Data"
- stat="LLViewerOctreeEntry"/>
- <stat_bar name="LLVOCacheEntry"
- label="Viewer Object Cache"
- stat="LLVOCacheEntry"/>
- <stat_bar name="LLDrawable"
- label="Drawables"
- stat="LLDrawable"/>
- <stat_bar name="LLFace"
- label="Face Data"
- stat="LLFace"/>
- <stat_bar name="LLDrawInfo"
- label="Draw Info"
- stat="LLDrawInfo"/>
- <stat_bar name="LLTexture"
- label="Texture Data"
- stat="LLTexture"/>
- <stat_bar name="LLImage"
- label="Image Data"
- stat="LLImage"/>
- <stat_bar name="LLImageGL"
- label="GL Image Data"
- stat="LLImageGL"/>
- <stat_bar name="LLVertexBuffer"
- label="Vertex Buffers"
- stat="LLVertexBuffer"/>
- </stat_view>
<stat_view name="network"
label="Network"
setting="OpenDebugStatNet">