mirror of https://github.com/nodejs/node.git
doc: os.cpus() returns times in milliseconds
parent
3f75454426
commit
e6acfed9cc
|
@ -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…
Reference in New Issue