X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fevents%2Flatency_info.h;h=92d928d615837d1323f07112b9244c135af4e67d;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=619b0462f71f4d36c3c7a7c23288887eee82a6ad;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/events/latency_info.h b/src/ui/events/latency_info.h index 619b046..92d928d 100644 --- a/src/ui/events/latency_info.h +++ b/src/ui/events/latency_info.h @@ -22,6 +22,8 @@ enum LatencyComponentType { INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT, // Timestamp when the input event is received in plugin. INPUT_EVENT_LATENCY_BEGIN_PLUGIN_COMPONENT, + // Timestamp when a scroll update for the main thread is begun. + INPUT_EVENT_LATENCY_BEGIN_SCROLL_UPDATE_MAIN_COMPONENT, // ---------------------------NORMAL COMPONENT------------------------------- // Timestamp when the scroll update gesture event is sent from RWH to // renderer. In Aura, touch event's LatencyInfo is carried over to the gesture @@ -39,11 +41,19 @@ enum LatencyComponentType { // This is special component indicating there is rendering scheduled for // the event associated with this LatencyInfo. INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_COMPONENT, + // Timestamp when a scroll update is forwarded to the main thread. + INPUT_EVENT_LATENCY_FORWARD_SCROLL_UPDATE_TO_MAIN_COMPONENT, // Timestamp when the touch event is acked. INPUT_EVENT_LATENCY_ACKED_TOUCH_COMPONENT, // Frame number when a window snapshot was requested. The snapshot // is taken when the rendering results actually reach the screen. WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT, + // Frame number for a snapshot requested via + // gpuBenchmarking.beginWindowSnapshotPNG + // TODO(vkuzkokov): remove when patch adding this hits Stable + WINDOW_OLD_SNAPSHOT_FRAME_NUMBER_COMPONENT, + // Timestamp when a tab is requested to be shown. + TAB_SHOW_COMPONENT, // ---------------------------TERMINAL COMPONENT----------------------------- // TERMINAL COMPONENT is when we show the latency end in chrome://tracing. // Timestamp when the mouse event is acked from renderer and it does not @@ -61,12 +71,12 @@ enum LatencyComponentType { // This component indicates that the input causes a commit to be scheduled // but the commit failed. INPUT_EVENT_LATENCY_TERMINATED_COMMIT_FAILED_COMPONENT, + // This component indicates that the input causes a commit to be scheduled + // but the commit was aborted since it carried no new information. + INPUT_EVENT_LATENCY_TERMINATED_COMMIT_NO_UPDATE_COMPONENT, // This component indicates that the input causes a swap to be scheduled // but the swap failed. INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT, - // This component indicates that the cached LatencyInfo number exceeds the - // maximal allowed size. - LATENCY_INFO_LIST_TERMINATED_OVERFLOW_COMPONENT, // Timestamp when the input event is considered not cause any rendering // damage in plugin and thus terminated. INPUT_EVENT_LATENCY_TERMINATED_PLUGIN_COMPONENT,