mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-26 11:04:33 +00:00
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2025-10-20 (a3f3d4de)
This commit is contained in:
commit
9f0e0042dc
@ -4131,6 +4131,10 @@ bool SystemInformationImplementation::QueryWindowsMemory()
|
||||
this->TotalPhysicalMemory = tp >> 10 >> 10;
|
||||
this->AvailableVirtualMemory = av >> 10 >> 10;
|
||||
this->AvailablePhysicalMemory = ap >> 10 >> 10;
|
||||
|
||||
// The virtual WinAPI memory contains both physical memory and page file.
|
||||
this->TotalVirtualMemory -= this->TotalPhysicalMemory;
|
||||
this->AvailableVirtualMemory -= this->AvailablePhysicalMemory;
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user