Browse Source

doc: os.cpus() returns times in milliseconds

v0.9.6-release
Tim Bradshaw 12 years ago
committed by Ben Noordhuis
parent
commit
e6acfed9cc
  1. 4
      doc/api/os.markdown

4
doc/api/os.markdown

@ -52,7 +52,9 @@ Returns the amount of free system memory in bytes.
## os.cpus()
Returns an array of objects containing information about each CPU/core installed: model, speed (in MHz), and times (an object containing the number of CPU ticks spent in: user, nice, sys, idle, and irq).
Returns an array of objects containing information about each CPU/core
installed: model, speed (in MHz), and times (an object containing the number of
milliseconds the CPU/core spent in: user, nice, sys, idle, and irq).
Example inspection of os.cpus:

Loading…
Cancel
Save