A few more BugSplat related tweaks

master
Beq 2025-01-04 01:00:18 +00:00
parent 6df1b5b049
commit 1c6bbce5d7
2 changed files with 5 additions and 2 deletions

View File

@ -718,7 +718,7 @@ void LLAppViewerWin32::bugsplatAddStaticAttributes(const LLSD& info)
if (bugSplatMap.writeToFile(BugSplatAttributes::getCrashContextFileName()))
{
LL_INFOS() << "Crash context saved to " << WCSTR(BugSplatAttributes::getCrashContextFileName()) << LL_ENDL;
LL_INFOS() << "Crash context saved to " << BugSplatAttributes::getCrashContextFileName() << LL_ENDL;
}
#endif
}

View File

@ -551,9 +551,12 @@ public:
static LLCachedControl<bool> debugShowMemory(gSavedSettings, "DebugShowMemory");
if (debugShowMemory)
{
auto rss = LLMemory::getCurrentRSS() / 1024;
addText(xpos, ypos,
STRINGIZE("Memory: " << (LLMemory::getCurrentRSS() / 1024) << " (KB)"));
STRINGIZE("Memory: " << rss << " (KB)"));
ypos += y_inc;
LL_PROFILE_PLOT("RSS", (int64_t)rss );
LL_PROFILE_PLOT("GL:", (int64_t)LLRenderTarget::sBytesAllocated );
}
if (gDisplayCameraPos)