OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef UI_EVENTS_LATENCY_INFO_H_ | 5 #ifndef UI_EVENTS_LATENCY_INFO_H_ |
6 #define UI_EVENTS_LATENCY_INFO_H_ | 6 #define UI_EVENTS_LATENCY_INFO_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... | |
37 // Timestamp when the UI event is created. | 37 // Timestamp when the UI event is created. |
38 INPUT_EVENT_LATENCY_UI_COMPONENT, | 38 INPUT_EVENT_LATENCY_UI_COMPONENT, |
39 // This is special component indicating there is rendering scheduled for | 39 // This is special component indicating there is rendering scheduled for |
40 // the event associated with this LatencyInfo. | 40 // the event associated with this LatencyInfo. |
41 INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_COMPONENT, | 41 INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_COMPONENT, |
42 // Timestamp when the touch event is acked. | 42 // Timestamp when the touch event is acked. |
43 INPUT_EVENT_LATENCY_ACKED_TOUCH_COMPONENT, | 43 INPUT_EVENT_LATENCY_ACKED_TOUCH_COMPONENT, |
44 // Frame number when a window snapshot was requested. The snapshot | 44 // Frame number when a window snapshot was requested. The snapshot |
45 // is taken when the rendering results actually reach the screen. | 45 // is taken when the rendering results actually reach the screen. |
46 WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT, | 46 WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT, |
47 // Frame number for a snapshot requested via | |
48 // gpuBenchmarking.beginWindowSnapshotPNG | |
Vladislav Kaznacheev
2014/06/16 08:25:27
Please add a TODO to remove this when this patch h
vkuzkokov
2014/06/16 10:01:24
Done.
| |
49 WINDOW_OLD_SNAPSHOT_FRAME_NUMBER_COMPONENT, | |
47 // ---------------------------TERMINAL COMPONENT----------------------------- | 50 // ---------------------------TERMINAL COMPONENT----------------------------- |
48 // TERMINAL COMPONENT is when we show the latency end in chrome://tracing. | 51 // TERMINAL COMPONENT is when we show the latency end in chrome://tracing. |
49 // Timestamp when the mouse event is acked from renderer and it does not | 52 // Timestamp when the mouse event is acked from renderer and it does not |
50 // cause any rendering scheduled. | 53 // cause any rendering scheduled. |
51 INPUT_EVENT_LATENCY_TERMINATED_MOUSE_COMPONENT, | 54 INPUT_EVENT_LATENCY_TERMINATED_MOUSE_COMPONENT, |
52 // Timestamp when the touch event is acked from renderer and it does not | 55 // Timestamp when the touch event is acked from renderer and it does not |
53 // cause any rendering schedueld and does not generate any gesture event. | 56 // cause any rendering schedueld and does not generate any gesture event. |
54 INPUT_EVENT_LATENCY_TERMINATED_TOUCH_COMPONENT, | 57 INPUT_EVENT_LATENCY_TERMINATED_TOUCH_COMPONENT, |
55 // Timestamp when the gesture event is acked from renderer, and it does not | 58 // Timestamp when the gesture event is acked from renderer, and it does not |
56 // cause any rendering schedueld. | 59 // cause any rendering schedueld. |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
145 LatencyMap latency_components; | 148 LatencyMap latency_components; |
146 // The unique id for matching the ASYNC_BEGIN/END trace event. | 149 // The unique id for matching the ASYNC_BEGIN/END trace event. |
147 int64 trace_id; | 150 int64 trace_id; |
148 // Whether a terminal component has been added. | 151 // Whether a terminal component has been added. |
149 bool terminated; | 152 bool terminated; |
150 }; | 153 }; |
151 | 154 |
152 } // namespace ui | 155 } // namespace ui |
153 | 156 |
154 #endif // UI_EVENTS_LATENCY_INFO_H_ | 157 #endif // UI_EVENTS_LATENCY_INFO_H_ |
OLD | NEW |