doc: mention unit for event loop delay measurements

PR-URL: https://github.com/nodejs/node/pull/28629
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Jan Krems 2019-07-10 13:20:43 -07:00 committed by Anna Henningsen
parent bf46c2cecb
commit ca0884a60b
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9

View File

@ -419,7 +419,7 @@ added: v11.10.0
* Returns: {Histogram}
Creates a `Histogram` object that samples and reports the event loop delay
over time.
over time. The delays will be reported in nanoseconds.
Using a timer to detect approximate event loop delay works because the
execution of timers is tied specifically to the lifecycle of the libuv