summaryrefslogtreecommitdiff
path: root/src/node_dtrace.cc
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2013-05-22 11:32:54 -0700
committerTimothy J Fontaine <tjfontaine@gmail.com>2013-05-22 20:13:14 -0700
commitf8193ab3c46475486eab38543650e2388bd3aedc (patch)
tree340e802e74b622c800254761352d3c91c028b74f /src/node_dtrace.cc
parentf58eb8f5dbe5e530f1e37fc6978fdf853be81706 (diff)
downloadnode-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