report: support RUSAGE_SELF stats on Windows · nodejs/node@0abb724 · GitHub
Skip to content

Commit 0abb724

Browse files
cjihrigBridgeAR
authored andcommitted
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(). PR-URL: #26406 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 2a3cca7 commit 0abb724

2 files changed

Lines changed: 30 additions & 38 deletions

File tree

src/node_report.cc

Lines changed: 10 additions & 16 deletions

test/common/report.js

Lines changed: 20 additions & 22 deletions

0 commit comments

Comments
 (0)