Commit Graph

5 Commits (3c7a76da6e97ca616967cfec280b943f17b391fa)

Author SHA1 Message Date
kruskall 3c7a76da6e
Update ex_windows.go 2 weeks ago
kruskall 3e820af149
feat(exwindows): expose phys and pagefile memory
add a way to retrieve pagefile info from memorystatusex
add phys memory for usability
3 weeks ago
Max Altgelt 7411b4e266
fix: use err from Syscall instead of calling GetLastError
Call() already returns the last error, see
https://pkg.go.dev/syscall?GOOS=windows#Proc.Call.

However, some code called GetLastError() afterwards, which is racy;
if the go routine switches threads between Call() and GetLastError(),
it may return a different error than expected, or possibly nil.
2 months ago
Vyacheslav Artemiev 3f241a0b08 feat(mem): Add windows commit stats
Closes Expose MemCommit info for Windows #1719
9 months ago
shirou 3caf443966 [mem][windows]: add ExWindows and implement VirualTotal/Avail
This commit fixes #1588. Thank you!
1 year ago