This repository was archived by the owner on Feb 18, 2026. It is now read-only.
Commit fdf4e52
committed
fix(test_stress): add Windows timing and process ID support
- Replace clock_gettime with QueryPerformanceCounter on Windows
- Map getpid() to _getpid() on Windows
- Suppress MSVC getenv warnings with _CRT_SECURE_NO_WARNINGS
- Add windows.h and process.h includes for Windows platform
Fixes Windows build errors for CLOCK_MONOTONIC and getpid undefined.1 parent 0ca729a commit fdf4e52
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
32 | 35 | | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
116 | 133 | | |
117 | 134 | | |
118 | 135 | | |
| 136 | + | |
119 | 137 | | |
120 | 138 | | |
121 | 139 | | |
| |||
0 commit comments