1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Diagnostic panel >2GB fix

This commit is contained in:
Brian Fiete 2022-07-30 11:44:20 -04:00
parent decc0c0826
commit d43c47f866

View file

@ -10763,8 +10763,8 @@ String WinDebugger::GetProcessInfo()
FILETIME currentTime = { 0 };
::GetSystemTimeAsFileTime(&currentTime);
retStr += StrFormat("VirtualMemory\t%d\n", memInfo.PagefileUsage);
retStr += StrFormat("WorkingMemory\t%d\n", memInfo.WorkingSetSize);
retStr += StrFormat("VirtualMemory\t%lld\n", memInfo.PagefileUsage);
retStr += StrFormat("WorkingMemory\t%lld\n", memInfo.WorkingSetSize);
retStr += StrFormat("RunningTime\t%lld\n", *(int64*)&currentTime - *(int64*)&creationTime);
retStr += StrFormat("KernelTime\t%lld\n", *(int64*)&kernelTime / sysinfo.dwNumberOfProcessors);
retStr += StrFormat("UserTime\t%lld\n", *(int64*)&userTime / sysinfo.dwNumberOfProcessors);