TaskScheduler: Track number of Sequences per priority.
With this CL, PriorityQueue keeps track of the number of Sequences of each TaskPriority that it contains. This will be used in an upcoming CL to ensure that the appropriate number of workers are woken up when new Sequences are scheduled or when the maxmium number of tasks that can run concurrently is updated. Bug: 889029 Change-Id: I644dc3fb5d59f9f408b99d35af8a8187b03cf313 Reviewed-on: https://chromium-review.googlesource.com/c/1452484 Commit-Queue: François Doray <fdoray@chromium.org> Reviewed-by:Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#629606}
Showing
Please register or sign in to comment