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:
parent
decc0c0826
commit
d43c47f866
1 changed files with 2 additions and 2 deletions
|
@ -10763,8 +10763,8 @@ String WinDebugger::GetProcessInfo()
|
||||||
FILETIME currentTime = { 0 };
|
FILETIME currentTime = { 0 };
|
||||||
::GetSystemTimeAsFileTime(¤tTime);
|
::GetSystemTimeAsFileTime(¤tTime);
|
||||||
|
|
||||||
retStr += StrFormat("VirtualMemory\t%d\n", memInfo.PagefileUsage);
|
retStr += StrFormat("VirtualMemory\t%lld\n", memInfo.PagefileUsage);
|
||||||
retStr += StrFormat("WorkingMemory\t%d\n", memInfo.WorkingSetSize);
|
retStr += StrFormat("WorkingMemory\t%lld\n", memInfo.WorkingSetSize);
|
||||||
retStr += StrFormat("RunningTime\t%lld\n", *(int64*)¤tTime - *(int64*)&creationTime);
|
retStr += StrFormat("RunningTime\t%lld\n", *(int64*)¤tTime - *(int64*)&creationTime);
|
||||||
retStr += StrFormat("KernelTime\t%lld\n", *(int64*)&kernelTime / sysinfo.dwNumberOfProcessors);
|
retStr += StrFormat("KernelTime\t%lld\n", *(int64*)&kernelTime / sysinfo.dwNumberOfProcessors);
|
||||||
retStr += StrFormat("UserTime\t%lld\n", *(int64*)&userTime / sysinfo.dwNumberOfProcessors);
|
retStr += StrFormat("UserTime\t%lld\n", *(int64*)&userTime / sysinfo.dwNumberOfProcessors);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue