Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(runtime/os): use GetPerformanceInfo for swap info on Windows (den…
…oland#17433) Fixes denoland#17417 According to https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-memorystatusex , `stat.ullTotalPageFile` value is reliable only from GetPerformanceInfo() Also see GuillaumeGomez/sysinfo#534 Co-authored-by: Nightly <[email protected]>
- Loading branch information