joyent/node — pull request #6298 by bnoordhuis (2013-10-02 04:40:23+00:00)
Title: src: notify V8 profiler when we're idle

Inform V8's CPU profiler when we're idle. The profiler is
sampling-based but not all samples are created equal; mark the wall
clock time spent in epoll_wait() and friends so profiling tools can
filter it out. The samples still end up in v8.log but with state=IDLE
rather than state=EXTERNAL.