summaryrefslogtreecommitdiffstats
path: root/components/BUILD.gn
diff options
context:
space:
mode:
authoralexclarke <alexclarke@chromium.org>2015-11-03 10:24:16 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-03 18:25:51 +0000
commitf65eb2da91a4544d49ea6ddab73cac52b0e338b4 (patch)
treecb99da08093d01ee9b83c909f68175c750cf327e /components/BUILD.gn
parent51768023c35fc5449f93169c3079a73ecd7cfea0 (diff)
downloadchromium_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.gn4
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",
]