diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-05-22 11:32:54 -0700 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-05-22 20:13:14 -0700 |
commit | f8193ab3c46475486eab38543650e2388bd3aedc (patch) | |
tree | 340e802e74b622c800254761352d3c91c028b74f /src/node_dtrace.cc | |
parent | f58eb8f5dbe5e530f1e37fc6978fdf853be81706 (diff) | |
download | node-new-f8193ab3c46475486eab38543650e2388bd3aedc.tar.gz |
timers: use uv_now instead of Date.now
This saves a few calls to gettimeofday which can be expensive, and
potentially subject to clock drift. Instead use the loop time which
uses hrtime internally.
fixes #5497
Diffstat (limited to 'src/node_dtrace.cc')
0 files changed, 0 insertions, 0 deletions