telemetry: Add discrepancy-based latency jank metric
commitb2b819260d6ea779a8a745e1a47b9162d17017dc
authorskyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 26 Feb 2014 11:35:00 +0000 (26 11:35 +0000)
committerskyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 26 Feb 2014 11:35:00 +0000 (26 11:35 +0000)
tree12029f908967b3a2ea5544b5e16477597c4be033
parent4a1ebaa432c40bdecb3abe7adf2c73469486c9c9
telemetry: Add discrepancy-based latency jank metric

Add a metric for measuring touch/scroll latency jank. This is similar to
the existing jank metric based on frame completion times, and
correspondingly a smaller latency jank number is better and indicates
a smoother touch response.

BUG=309648
TEST=StatisticsUnitTest.testLatencyDiscrepancy

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253405 0039d316-1c4b-4281-b951-d872f2087c98
tools/perf/metrics/smoothness.py
tools/perf/metrics/statistics.py
tools/perf/metrics/statistics_unittest.py