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

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

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « tracing/tracing/model/event_set.html ('k') | tracing/tracing/model/helpers/android_app.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <link rel="import" href="/tracing/base/color_scheme.html"> 7 <link rel="import" href="/tracing/base/color_scheme.html">
8 <link rel="import" href="/tracing/base/statistics.html"> 8 <link rel="import" href="/tracing/base/math/statistics.html">
9 <link rel="import" href="/tracing/model/event.html"> 9 <link rel="import" href="/tracing/model/event.html">
10 <link rel="import" href="/tracing/model/event_set.html"> 10 <link rel="import" href="/tracing/model/event_set.html">
11 11
12 <script> 12 <script>
13 'use strict'; 13 'use strict';
14 14
15 /** 15 /**
16 * @fileoverview Class describing rendered frames. 16 * @fileoverview Class describing rendered frames.
17 * 17 *
18 * Because a frame is produced by multiple threads, it does not inherit from 18 * Because a frame is produced by multiple threads, it does not inherit from
19 * TimedEvent, and has no duration. 19 * TimedEvent, and has no duration.
20 */ 20 */
21 tr.exportTo('tr.model', function() { 21 tr.exportTo('tr.model', function() {
22 var ColorScheme = tr.b.ColorScheme; 22 var ColorScheme = tr.b.ColorScheme;
23 var Statistics = tr.b.Statistics; 23 var Statistics = tr.b.math.Statistics;
24 24
25 var FRAME_PERF_CLASS = { 25 var FRAME_PERF_CLASS = {
26 GOOD: 'good', 26 GOOD: 'good',
27 BAD: 'bad', 27 BAD: 'bad',
28 TERRIBLE: 'terrible', 28 TERRIBLE: 'terrible',
29 NEUTRAL: 'generic_work' 29 NEUTRAL: 'generic_work'
30 }; 30 };
31 31
32 /** 32 /**
33 * @constructor 33 * @constructor
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 name: 'frame', 87 name: 'frame',
88 pluralName: 'frames' 88 pluralName: 'frames'
89 }); 89 });
90 90
91 return { 91 return {
92 Frame, 92 Frame,
93 FRAME_PERF_CLASS, 93 FRAME_PERF_CLASS,
94 }; 94 };
95 }); 95 });
96 </script> 96 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/model/event_set.html ('k') | tracing/tracing/model/helpers/android_app.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698