report: support RUSAGE_SELF stats on Windows
This commit adds support for the resourceUsage
report section on Windows by using uv_getrusage()
instead of getrusage()
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines