OLD | NEW |
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"> | 8 <link rel="import" href="/tracing/base/utils.html"> |
9 | 9 |
10 <script> | 10 <script> |
11 'use strict'; | 11 'use strict'; |
12 | 12 |
13 tr.exportTo('tr.model', function() { | 13 tr.exportTo('tr.model', function() { |
14 const ClockDomainId = { | 14 const ClockDomainId = { |
15 BATTOR: 'BATTOR', | 15 BATTOR: 'BATTOR', |
16 | 16 |
17 // NOTE: Exists for backwards compatibility with old Chrome traces which | 17 // NOTE: Exists for backwards compatibility with old Chrome traces which |
18 // didn't explicitly specify the clock being used. | 18 // didn't explicitly specify the clock being used. |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 return new Transformer( | 458 return new Transformer( |
459 (ts) => ts + tsShift, fromMarker.duration + toMarker.duration); | 459 (ts) => ts + tsShift, fromMarker.duration + toMarker.duration); |
460 }; | 460 }; |
461 | 461 |
462 return { | 462 return { |
463 ClockDomainId, | 463 ClockDomainId, |
464 ClockSyncManager, | 464 ClockSyncManager, |
465 }; | 465 }; |
466 }); | 466 }); |
467 </script> | 467 </script> |
OLD | NEW |