commit | 3fb9e4fe6f5e51574d0647ee0adc0462da885c61 | [log] [tgz] |
---|---|---|
author | Gabriel Charette <gab@chromium.org> | Fri May 18 21:34:43 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 18 21:34:43 2018 |
tree | 5a6b3f8f5654640ffd3230c5ec4413f89981820d | |
parent | badbd32bba4d43453f0625b8c0beab49558b29c2 [diff] |
[TaskScheduler] Introduce HeartbeatLatencyMicroseconds metric. Put the timer on the service thread to avoid depending on the main thread (want to record the metric even if -- especially if -- the main thread is too busy for its timers to fire). Move the impl to service_thread.cc to be able to use post_task.h and test the full stack (also allows documenting "service thread" in its new header which was never a well documented concept of task scheduler's internals). Kept reporting logic in task_tracker.cc to centralize traits-based metrics reporting logic. R=fdoray@chromium.org, jwd@chromium.org Bug: 810746 Change-Id: Ie866d521c734bc63941836319d6c1258253cb8c5 Reviewed-on: https://chromium-review.googlesource.com/1059459 Commit-Queue: Gabriel Charette <gab@chromium.org> Reviewed-by: Jesse Doherty <jwd@chromium.org> Reviewed-by: Timothy Dresser <tdresser@chromium.org> Reviewed-by: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#560052}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .