Skip to content

Commit

Permalink
doc: add added: info for process.cpuUsage
Browse files Browse the repository at this point in the history
Refs: #6578
PR-URL: #6863
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
addaleax authored and rvagg committed Jun 2, 2016
1 parent 8a0329f commit e1fb480
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,9 @@ added: v0.7.2
If `process.connected` is `false`, it is no longer possible to send messages.

## process.cpuUsage([previousValue])
<!-- TODO add YAML block when cpuUsage is in a release -->
<!-- YAML
added: v6.1.0
-->

Returns the user and system CPU time usage of the current process, in an object
with properties `user` and `system`, whose values are microsecond values
Expand Down

0 comments on commit e1fb480

Please sign in to comment.