mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 09:03:12 +00:00
0733c8c5ca
`GetPhysicallyInstalledSystemMemory` uses SMBios to grab the physical memory size which can lead to unecessary allocation and inacurate representation of the total memory. Using `System_Basic_Information` help to retrieve the physical memory which is not reserved for the kernel/tables. This aligns better with the linux side as `/proc/meminfo` does the same thing. |
||
---|---|---|
.. | ||
advapi32.zig | ||
crypt32.zig | ||
gdi32.zig | ||
kernel32.zig | ||
lang.zig | ||
ntdll.zig | ||
ntstatus.zig | ||
ole32.zig | ||
psapi.zig | ||
shell32.zig | ||
sublang.zig | ||
test.zig | ||
user32.zig | ||
win32error.zig | ||
winmm.zig | ||
ws2_32.zig |