Commit 7f1fd5e1 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Restrict recorded execution pauses to the required range.

R=jkummerow@chromium.org
BUG=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16991 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 807cdd49
......@@ -497,6 +497,8 @@ function PlotScriptComposer(kResX, kResY, error_output) {
}
// Label the longest pauses.
execution_pauses =
RestrictRangesTo(execution_pauses, range_start, range_end);
execution_pauses.sort(
function(a, b) { return b.duration() - a.duration(); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment