doc: os.cpus() returns times in milliseconds

pull/24504/head
Tim Bradshaw 2012-12-31 18:44:51 +00:00 committed by Ben Noordhuis
parent 3f75454426
commit e6acfed9cc
1 changed files with 3 additions and 1 deletions

View File

@ -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: