OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include <stdint.h> |
| 6 |
5 #include <set> | 7 #include <set> |
6 #include <string> | 8 #include <string> |
7 | 9 |
8 #include "base/time/time.h" | 10 #include "base/time/time.h" |
9 #include "base/trace_event/trace_event_argument.h" | 11 #include "base/trace_event/trace_event_argument.h" |
10 #include "base/values.h" | 12 #include "base/values.h" |
11 #include "cc/debug/frame_timing_tracker.h" | 13 #include "cc/debug/frame_timing_tracker.h" |
12 #include "cc/test/fake_impl_task_runner_provider.h" | 14 #include "cc/test/fake_impl_task_runner_provider.h" |
13 #include "cc/test/fake_layer_tree_host_impl.h" | 15 #include "cc/test/fake_layer_tree_host_impl.h" |
14 #include "cc/test/test_shared_bitmap_manager.h" | 16 #include "cc/test/test_shared_bitmap_manager.h" |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 "{\"end_time\":110,\"frame_id\":3,\"timestamp\":100}," | 288 "{\"end_time\":110,\"frame_id\":3,\"timestamp\":100}," |
287 "{\"end_time\":220,\"frame_id\":1,\"timestamp\":200}],\"rect_id\":3}," | 289 "{\"end_time\":220,\"frame_id\":1,\"timestamp\":200}],\"rect_id\":3}," |
288 "{\"events\":[" | 290 "{\"events\":[" |
289 "{\"end_time\":110,\"frame_id\":3,\"timestamp\":100}],\"rect_id\":4}" | 291 "{\"end_time\":110,\"frame_id\":3,\"timestamp\":100}],\"rect_id\":4}" |
290 "]}", | 292 "]}", |
291 MainFrameToString(tracker->GroupMainFrameCountsByRectId())); | 293 MainFrameToString(tracker->GroupMainFrameCountsByRectId())); |
292 } | 294 } |
293 | 295 |
294 } // namespace | 296 } // namespace |
295 } // namespace cc | 297 } // namespace cc |
OLD | NEW |