| 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/iteration_helpers.html"> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 fromMarker.duration > BATTOR_FAST_SYNC_THRESHOLD_MS) { | 416 fromMarker.duration > BATTOR_FAST_SYNC_THRESHOLD_MS) { |
| 417 fromTs = fromMarker.startTs; | 417 fromTs = fromMarker.startTs; |
| 418 } | 418 } |
| 419 | 419 |
| 420 var tsShift = toTs - fromTs; | 420 var tsShift = toTs - fromTs; |
| 421 return new Transformer( | 421 return new Transformer( |
| 422 (ts) => ts + tsShift, fromMarker.duration + toMarker.duration); | 422 (ts) => ts + tsShift, fromMarker.duration + toMarker.duration); |
| 423 }; | 423 }; |
| 424 | 424 |
| 425 return { | 425 return { |
| 426 ClockDomainId: ClockDomainId, | 426 ClockDomainId, |
| 427 ClockSyncManager: ClockSyncManager | 427 ClockSyncManager, |
| 428 }; | 428 }; |
| 429 }); | 429 }); |
| 430 </script> | 430 </script> |
| OLD | NEW |