From 7f1fd5e16cd408e1bf2e2932b503b0f612048823 Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Fri, 27 Sep 2013 13:45:17 +0000 Subject: [PATCH] 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 --- tools/profviz/composer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/profviz/composer.js b/tools/profviz/composer.js index 44dd763..0c9437f 100644 --- a/tools/profviz/composer.js +++ b/tools/profviz/composer.js @@ -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(); }); -- 2.7.4