Add UMA for TouchToFirstScrollUpdateSwap
commitbf3a626647d8813df8491b8c4babc4442940dadc
authorjdduke <jdduke@chromium.org>
Fri, 16 Jan 2015 18:31:52 +0000 (16 10:31 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 16 Jan 2015 18:34:19 +0000 (16 18:34 +0000)
treeef7c8e76b88d672742b8d5c5264486fa13c3ba15
parent8f2299d665a834429c8c67aafa4e6c630d39a717
Add UMA for TouchToFirstScrollUpdateSwap

TouchToScrollUpdateSwap is currently tracked in UMA. While this is
useful for gauging the typical response time for each event in a scroll
sequence, it is insufficient to indicate the intial scroll response
time. Add a TouchToFirstScrollUpdateSwap which measures the time between
touch event creation for the first GestureScrollUpdate in a sequence and
the frame swap time caused by that first scroll event.

Also remove INPUT_EVENT_LATENCY_SCROLL_UPDATE_RWH_COMPONENT as it is no
longer used on Aura.

BUG=436965

Review URL: https://codereview.chromium.org/827963005

Cr-Commit-Position: refs/heads/master@{#311928}
content/browser/renderer_host/input/input_router_impl_perftest.cc
content/browser/renderer_host/render_widget_host_latency_tracker.cc
content/browser/renderer_host/render_widget_host_latency_tracker.h
content/browser/renderer_host/render_widget_host_latency_tracker_unittest.cc
tools/metrics/histograms/histograms.xml
ui/events/latency_info.cc
ui/events/latency_info.h