diff options
author | Oz Linden <oz@lindenlab.com> | 2017-06-20 17:05:53 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2017-06-20 17:05:53 -0400 |
commit | d8be66c8e2dc979f7497841cd79fa6bd4172b4c8 (patch) | |
tree | b5bf17211501903bf0c3dcc360052c50fbc8592f /indra/newview/llviewerdisplay.cpp | |
parent | 347015be33559ca035e1b119d361423b906555db (diff) | |
parent | f1e52656e9e328d66aa5050bc9e59948a0217283 (diff) |
merge changes for 5.0.6-release
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r-- | indra/newview/llviewerdisplay.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index afa00e3e6e..bfa9fa03fa 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -106,6 +106,7 @@ const F32 TELEPORT_EXPIRY_PER_ATTACHMENT = 3.f; U32 gRecentFrameCount = 0; // number of 'recent' frames LLFrameTimer gRecentFPSTime; LLFrameTimer gRecentMemoryTime; +LLFrameTimer gAssetStorageLogTime; // Rendering stuff void pre_show_depth_buffer(); @@ -226,6 +227,12 @@ void display_stats() LLMemory::logMemoryInfo(TRUE) ; gRecentMemoryTime.reset(); } + F32 asset_storage_log_freq = gSavedSettings.getF32("AssetStorageLogFrequency"); + if (asset_storage_log_freq > 0.f && gAssetStorageLogTime.getElapsedTimeF32() >= asset_storage_log_freq) + { + gAssetStorageLogTime.reset(); + gAssetStorage->logAssetStorageInfo(); + } } static LLTrace::BlockTimerStatHandle FTM_PICK("Picking"); |