summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorAditya Keerthi <adityakeerthi@google.com>2019-01-25 23:24:16 +0900
committerQijiang Fan <fqj@google.com>2020-06-05 11:52:03 +0900
commit7922382a54d2e4bc3a8e13268e99d615f081916a (patch)
treeb92bd7221b441cb0b0c0b71bab42969e47cdb9ac /components
parentaba7068c761c44ef59fa2650acdb0434b13278d8 (diff)
downloadlibchrome-7922382a54d2e4bc3a8e13268e99d615f081916a.tar.gz
TaskScheduler: Add metrics to track cancelled delayed tasks
In order to determine the best approach to removing cancelled tasks from the DelayedTaskManager, it is necessary to collect metrics regarding the number of cancelled tasks that remain in the heap, as well as the percentage tasks in the heap that are cancelled. Given these metrics, we hope to deduce the number and percentage of cancelled tasks at which the benefits of cleaning up cancelled tasks outweigh the cost. Bug: 900191 Change-Id: Ibecf6aff5c5176deba0059607945e9b2c6dbfbf8 Reviewed-on: https://chromium-review.googlesource.com/c/1423159 Commit-Queue: Aditya Keerthi <adityakeerthi@google.com> Reviewed-by: Jesse Doherty <jwd@chromium.org> Reviewed-by: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#626072} CrOS-Libchrome-Original-Commit: 98dbee3a496427115cca76409e8ed40dd021a7d9
Diffstat (limited to 'components')
0 files changed, 0 insertions, 0 deletions