Closed hhellyer closed 3 years ago
node-report on Windows does currently obtain process or thread CPU times on Windows, the PrintResourceUsage function is unimplemented.
PrintResourceUsage
Most of the data could be gathered via these API's: GetProcessTimes - https://msdn.microsoft.com/en-us/library/ms683223(VS.85).aspx GetThreadTimes - https://msdn.microsoft.com/en-us/library/ms683237(VS.85).aspx
GetProcessTimes
GetThreadTimes
(I can't work on this myself as I don't have a Windows box. I'm not sure how high a priority Windows support for this data is.)
We can port https://github.com/nodejs/node/pull/26406 across.
node-report on Windows does currently obtain process or thread CPU times on Windows, the
PrintResourceUsage
function is unimplemented.Most of the data could be gathered via these API's:
GetProcessTimes
- https://msdn.microsoft.com/en-us/library/ms683223(VS.85).aspxGetThreadTimes
- https://msdn.microsoft.com/en-us/library/ms683237(VS.85).aspx(I can't work on this myself as I don't have a Windows box. I'm not sure how high a priority Windows support for this data is.)