aboutsummaryrefslogtreecommitdiff
path: root/src/unix/signal.c
diff options
context:
space:
mode:
authorJames Ross <git@james-ross.co.uk>2020-04-22 10:46:07 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2020-04-22 10:46:07 +0200
commit37a8affbd319209fd0d0d96ee4e3002c8ecc5076 (patch)
tree30e61d0265aa21e4d914cae8e1a482e4389a8879 /src/unix/signal.c
parentf52786b4badf82e1bfad06b52ade0397b61cd14e (diff)
downloadlibuv-37a8affbd319209fd0d0d96ee4e3002c8ecc5076.tar.gz
libuv-37a8affbd319209fd0d0d96ee4e3002c8ecc5076.zip
linux: make cpu_times consistently be milliseconds
On Linux, cpu_times have been calculated differently to all other platforms for a while. Other platforms (FreeBSD, Mac, Windows) are all in milliseconds, but Linux has been returning values ten times larger. libuv has not previously documented what unit cpu_times uses, even though NodeJS did - as milliseconds. Here we're both documenting that the cpu_times are indeed in milliseconds, and fixing the inconsistency on Linux. Fixes: https://github.com/libuv/libuv/issues/2773 PR-URL: https://github.com/libuv/libuv/pull/2796 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/unix/signal.c')
0 files changed, 0 insertions, 0 deletions