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

Side by Side Diff: tracing/tracing/metrics/system_health/memory_metric_test.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: rebase 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 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 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">
9 <link rel="import" href="/tracing/base/math/range.html"> 8 <link rel="import" href="/tracing/base/math/range.html">
9 <link rel="import" href="/tracing/base/utils.html">
10 <link rel="import" href="/tracing/core/test_utils.html"> 10 <link rel="import" href="/tracing/core/test_utils.html">
11 <link rel="import" href="/tracing/metrics/system_health/memory_metric.html"> 11 <link rel="import" href="/tracing/metrics/system_health/memory_metric.html">
12 <link rel="import" href="/tracing/model/container_memory_dump.html"> 12 <link rel="import" href="/tracing/model/container_memory_dump.html">
13 <link rel="import" href="/tracing/model/heap_dump.html"> 13 <link rel="import" href="/tracing/model/heap_dump.html">
14 <link rel="import" href="/tracing/model/memory_dump_test_utils.html"> 14 <link rel="import" href="/tracing/model/memory_dump_test_utils.html">
15 <link rel="import" href="/tracing/model/vm_region.html"> 15 <link rel="import" href="/tracing/model/vm_region.html">
16 <link rel="import" href="/tracing/value/histogram_set.html"> 16 <link rel="import" href="/tracing/value/histogram_set.html">
17 17
18 <script> 18 <script>
19 'use strict'; 19 'use strict';
(...skipping 3686 matching lines...) Expand 10 before | Expand all | Expand 10 after
3706 addProcessMemoryDump(gmd, pChrome, {ts: 11}); 3706 addProcessMemoryDump(gmd, pChrome, {ts: 11});
3707 }); 3707 });
3708 const histograms = new tr.v.HistogramSet(); 3708 const histograms = new tr.v.HistogramSet();
3709 3709
3710 assert.throws(function() { 3710 assert.throws(function() {
3711 tr.metrics.sh.memoryMetric(histograms, model); 3711 tr.metrics.sh.memoryMetric(histograms, model);
3712 }, 'Memory dump ID clash across multiple browsers with PIDs: 1 and 2'); 3712 }, 'Memory dump ID clash across multiple browsers with PIDs: 1 and 2');
3713 }); 3713 });
3714 }); 3714 });
3715 </script> 3715 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/metrics/system_health/memory_metric.html ('k') | tracing/tracing/metrics/tracing_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698