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
This commit is contained in:
parent
807cdd492b
commit
7f1fd5e16c
@ -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(); });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user