OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <link rel="import" href="/tracing/base/base.html"> | 8 <link rel="import" href="/tracing/base/base.html"> |
9 <link rel="import" href="/tracing/base/iteration_helpers.html"> | |
10 <link rel="import" href="/tracing/base/math/statistics.html"> | 9 <link rel="import" href="/tracing/base/math/statistics.html"> |
| 10 <link rel="import" href="/tracing/base/utils.html"> |
11 | 11 |
12 <script> | 12 <script> |
13 'use strict'; | 13 'use strict'; |
14 tr.exportTo('tr.ui.analysis', function() { | 14 tr.exportTo('tr.ui.analysis', function() { |
15 function MultiEventSummary(title, events) { | 15 function MultiEventSummary(title, events) { |
16 this.title = title; | 16 this.title = title; |
17 this.duration_ = undefined; | 17 this.duration_ = undefined; |
18 this.selfTime_ = undefined; | 18 this.selfTime_ = undefined; |
19 this.events_ = events; | 19 this.events_ = events; |
20 | 20 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 this.untotallableArgs_ = Object.keys(untotallableArgs); | 198 this.untotallableArgs_ = Object.keys(untotallableArgs); |
199 this.totalledArgs_ = totalledArgs; | 199 this.totalledArgs_ = totalledArgs; |
200 } | 200 } |
201 }; | 201 }; |
202 | 202 |
203 return { | 203 return { |
204 MultiEventSummary, | 204 MultiEventSummary, |
205 }; | 205 }; |
206 }); | 206 }); |
207 </script> | 207 </script> |
OLD | NEW |