diff options
author | alexclarke <alexclarke@chromium.org> | 2015-11-03 10:24:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-03 18:25:51 +0000 |
commit | f65eb2da91a4544d49ea6ddab73cac52b0e338b4 (patch) | |
tree | cb99da08093d01ee9b83c909f68175c750cf327e /components/BUILD.gn | |
parent | 51768023c35fc5449f93169c3079a73ecd7cfea0 (diff) | |
download | chromium_src-f65eb2da91a4544d49ea6ddab73cac52b0e338b4.zip chromium_src-f65eb2da91a4544d49ea6ddab73cac52b0e338b4.tar.gz chromium_src-f65eb2da91a4544d49ea6ddab73cac52b0e338b4.tar.bz2 |
Adds a flag to support "Virtual Time" to the blink scheduler
For use in Headless Chrome, this patch introduces support for virtual
time. The idea is if the main thread (or a worker thread) runs out of
non-delayed work to do then we are able to fast forward time to the next
scheduled delayed task.
This is enabled via the new --enable-virtualized-time command line flag.
Currently this does not extend to RAF, and virtual time for workers is
not currently synchronized with anything.
BUG=546953
Review URL: https://codereview.chromium.org/1424053002
Cr-Commit-Position: refs/heads/master@{#357562}
Diffstat (limited to 'components/BUILD.gn')
-rw-r--r-- | components/BUILD.gn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/BUILD.gn b/components/BUILD.gn index 2fdd4ce..3ab1eb0 100644 --- a/components/BUILD.gn +++ b/components/BUILD.gn @@ -610,8 +610,8 @@ test("components_browsertests") { test("components_perftests") { sources = [ - "scheduler/base/nestable_task_runner_for_test.cc", - "scheduler/base/nestable_task_runner_for_test.h", + "scheduler/base/task_queue_manager_delegate_for_test.cc", + "scheduler/base/task_queue_manager_delegate_for_test.h", "scheduler/base/task_queue_manager_perftest.cc", "visitedlink/test/visitedlink_perftest.cc", ] |