Commit 4719682
BENCH: fix Windows peak working-set query (ctypes handle typing)
GetProcessMemoryInfo returned falsy because the process pseudo-handle was
passed as a default c_int; declare HANDLE/BOOL arg/return types so peak_rss_mb
is populated on Windows.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent cbe2198 commit 4719682
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
142 | 152 | | |
143 | 153 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 154 | + | |
148 | 155 | | |
149 | 156 | | |
150 | 157 | | |
| |||
0 commit comments