Skip to content

Commit 08bfca2

Browse files
Restrict recorded execution pauses to the required range.
[email protected] BUG= Review URL: https://codereview.chromium.org/24997003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@16991 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
1 parent 8020527 commit 08bfca2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/profviz/composer.js

+2
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ function PlotScriptComposer(kResX, kResY, error_output) {
497497
}
498498

499499
// Label the longest pauses.
500+
execution_pauses =
501+
RestrictRangesTo(execution_pauses, range_start, range_end);
500502
execution_pauses.sort(
501503
function(a, b) { return b.duration() - a.duration(); });
502504

0 commit comments

Comments
 (0)