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

Side by Side Diff: tracing/tracing/ui/analysis/memory_dump_allocator_details_pane.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
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/iteration_helpers.html">
9 <link rel="import" href="/tracing/base/range.html"> 9 <link rel="import" href="/tracing/base/math/range.html">
10 <link rel="import" href="/tracing/base/unit.html"> 10 <link rel="import" href="/tracing/base/unit.html">
11 <link rel="import" href="/tracing/model/memory_allocator_dump.html"> 11 <link rel="import" href="/tracing/model/memory_allocator_dump.html">
12 <link rel="import" href="/tracing/ui/analysis/memory_dump_heap_details_pane.html "> 12 <link rel="import" href="/tracing/ui/analysis/memory_dump_heap_details_pane.html ">
13 <link rel="import" href="/tracing/ui/analysis/memory_dump_sub_view_util.html"> 13 <link rel="import" href="/tracing/ui/analysis/memory_dump_sub_view_util.html">
14 <link rel="import" href="/tracing/ui/analysis/stacked_pane.html"> 14 <link rel="import" href="/tracing/ui/analysis/stacked_pane.html">
15 <link rel="import" href="/tracing/ui/base/dom_helpers.html"> 15 <link rel="import" href="/tracing/ui/base/dom_helpers.html">
16 <link rel="import" href="/tracing/ui/base/table.html"> 16 <link rel="import" href="/tracing/ui/base/table.html">
17 17
18 18
19 <dom-module id='tr-ui-a-memory-dump-allocator-details-pane'> 19 <dom-module id='tr-ui-a-memory-dump-allocator-details-pane'>
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 icon: RIGHTWARDS_OPEN_HEADED_ARROW, 342 icon: RIGHTWARDS_OPEN_HEADED_ARROW,
343 color: 'green' 343 color: 'green'
344 }); 344 });
345 } 345 }
346 }, 346 },
347 347
348 getAndUpdateOwnershipEntry_: function( 348 getAndUpdateOwnershipEntry_: function(
349 map, dump, link, opt_withSharerNameToEntry) { 349 map, dump, link, opt_withSharerNameToEntry) {
350 var entry = getAndUpdateEntry(map, dump.quantifiedName, 350 var entry = getAndUpdateEntry(map, dump.quantifiedName,
351 function(newEntry) { 351 function(newEntry) {
352 newEntry.importanceRange = new tr.b.Range(); 352 newEntry.importanceRange = new tr.b.math.Range();
353 if (opt_withSharerNameToEntry) 353 if (opt_withSharerNameToEntry)
354 newEntry.sharerNameToEntry = new Map(); 354 newEntry.sharerNameToEntry = new Map();
355 }); 355 });
356 entry.importanceRange.addValue(link.importance || 0); 356 entry.importanceRange.addValue(link.importance || 0);
357 return entry; 357 return entry;
358 } 358 }
359 }; 359 };
360 360
361 /** @constructor */ 361 /** @constructor */
362 function SizeColumn(name, cellPath, aggregationMode) { 362 function SizeColumn(name, cellPath, aggregationMode) {
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 867
868 return { 868 return {
869 // All exports are for testing only. 869 // All exports are for testing only.
870 SUBALLOCATION_CONTEXT, 870 SUBALLOCATION_CONTEXT,
871 AllocatorDumpNameColumn, 871 AllocatorDumpNameColumn,
872 EffectiveSizeColumn, 872 EffectiveSizeColumn,
873 SizeColumn, 873 SizeColumn,
874 }; 874 };
875 }); 875 });
876 </script> 876 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/generic_object_view.html ('k') | tracing/tracing/ui/analysis/multi_event_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698