diff options
| author | alexclarke <alexclarke@chromium.org> | 2016-01-25 05:23:20 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2016-01-25 13:24:20 +0000 |
| commit | c4353b56deab5cff45e269b4bba116dc0b4e1270 (patch) | |
| tree | 5f576cefebffab5892b391b6a2bed327de505082 /chrome/browser/policy | |
| parent | 39f0ae51541165bd60e2e516b188845f5154e2a4 (diff) | |
| download | chromium_src-c4353b56deab5cff45e269b4bba116dc0b4e1270.zip chromium_src-c4353b56deab5cff45e269b4bba116dc0b4e1270.tar.gz chromium_src-c4353b56deab5cff45e269b4bba116dc0b4e1270.tar.bz2 | |
Add UMA to measure how late delayed and non-delayed tasks are
This patch adds two new UMA histograms.
RendererScheduler.TaskQueueManager.DelayedTaskLateness measures how much
later delayed tasks are run after their scheduled run time.
RendererScheduler.TaskQueueManager.ImmediateTaskQueueingDuration
measures how long a non-delayed tasks is queued before its run. Note
this metric is only recorded if TrackingInfo::time_posted is set.
To reduce overhead only 10% of tasks are recorded.
We also only records tasks from auto-pumped queues since other types of
queues can have tasks arbitrarily delayed which will skew the
histograms.
BUG=574343
Review URL: https://codereview.chromium.org/1615143003
Cr-Commit-Position: refs/heads/master@{#371236}
Diffstat (limited to 'chrome/browser/policy')
0 files changed, 0 insertions, 0 deletions
