Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: tracing/tracing/model/ir_coverage.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2015 The Chromium Authors. All rights reserved. 3 Copyright (c) 2015 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/iteration_helpers.html"> 8 <link rel="import" href="/tracing/base/utils.html">
9 <link rel="import" href="/tracing/model/event_set.html"> 9 <link rel="import" href="/tracing/model/event_set.html">
10 10
11 <script> 11 <script>
12 'use strict'; 12 'use strict';
13 13
14 tr.exportTo('tr.model', function() { 14 tr.exportTo('tr.model', function() {
15 function getAssociatedEvents(irs) { 15 function getAssociatedEvents(irs) {
16 const allAssociatedEvents = new tr.model.EventSet(); 16 const allAssociatedEvents = new tr.model.EventSet();
17 irs.forEach(function(ir) { 17 irs.forEach(function(ir) {
18 ir.associatedEvents.forEach(function(event) { 18 ir.associatedEvents.forEach(function(event) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 }; 82 };
83 } 83 }
84 84
85 return { 85 return {
86 getIRCoverageFromModel, 86 getIRCoverageFromModel,
87 getAssociatedEvents, 87 getAssociatedEvents,
88 getUnassociatedEvents, 88 getUnassociatedEvents,
89 }; 89 };
90 }); 90 });
91 </script> 91 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/model/helpers/chrome_model_helper.html ('k') | tracing/tracing/model/kernel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698