OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright 2015 The Chromium Authors. All rights reserved. | 3 Copyright 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="/perf_insights/mappers/scheduling/map_wake_ups.html"> | 8 <link rel="import" href="/perf_insights/mappers/scheduling/map_wake_ups.html"> |
9 <link rel="import" href="/perf_insights/mre/mre_result.html"> | 9 <link rel="import" href="/perf_insights/mre/mre_result.html"> |
10 <link rel="import" href="/tracing/base/iteration_helpers.html"> | 10 <link rel="import" href="/tracing/base/iteration_helpers.html"> |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 var wakeUps = result.pairs.wakeUps; | 69 var wakeUps = result.pairs.wakeUps; |
70 assert.equal(Object.keys(wakeUps.mainThread).length, 2); | 70 assert.equal(Object.keys(wakeUps.mainThread).length, 2); |
71 assert.equal(wakeUps.mainThread.wakeUp1.frequency, 200 / 3); | 71 assert.equal(wakeUps.mainThread.wakeUp1.frequency, 200 / 3); |
72 assert.deepEqual(wakeUps.mainThread.wakeUp1.sleepTimes, [9, 15]); | 72 assert.deepEqual(wakeUps.mainThread.wakeUp1.sleepTimes, [9, 15]); |
73 assert.deepEqual(wakeUps.mainThread['file:func'].sleepTimes, [3]); | 73 assert.deepEqual(wakeUps.mainThread['file:func'].sleepTimes, [3]); |
74 }); | 74 }); |
75 }); | 75 }); |
76 | 76 |
77 </script> | 77 </script> |
OLD | NEW |