Profiler improvements
authorjkummerow <jkummerow@chromium.org>
Tue, 20 Jan 2015 16:06:03 +0000 (08:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 20 Jan 2015 16:06:09 +0000 (16:06 +0000)
commitfeffccca22cb63f39f8170b392e0ca05145e6403
tree4188c629e4878ead7d0490d1c94da9c8fbc5d6ba
parente62d974ba155e862c29f80667bcb7b4008549d51
Profiler improvements

(1) --prof-cpp: Collects ticks like --prof, but ignores code creation events to reduce distortion (so all JS ticks will be "unaccounted"). Useful for profiling C++ code.
(2) --timed-range flag for tick processor: Ignores ticks before the first and after the last call to Date.now(). Useful for focusing on the timed section of a test.

Review URL: https://codereview.chromium.org/802333002

Cr-Commit-Position: refs/heads/master@{#26168}
13 files changed:
src/flag-definitions.h
src/isolate.cc
src/log-utils.h
src/log.cc
src/runtime/runtime-date.cc
test/mjsunit/tools/tickprocessor-test.default
test/mjsunit/tools/tickprocessor-test.ignore-unknown
test/mjsunit/tools/tickprocessor-test.separate-ic
test/mjsunit/tools/tickprocessor.js
tools/logreader.js
tools/profile.js
tools/tickprocessor-driver.js
tools/tickprocessor.js