Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: components/scheduler/common/scheduler_switches.cc

Issue 1424053002: Adds a flag to support "Virtual Time" to the blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Helps if I upload the right files ;) Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/scheduler/common/scheduler_switches.h"
6
7 namespace scheduler {
8 namespace switches {
9
10 // Enable Virtualized time where the Render thread's time source skips forward
11 // to the next scheduled delayed time if there is no more non-delayed work to be
12 // done. This switch is intended only for use in headless mode.
Sami 2015/10/30 11:11:20 There's nothing headless-mode specific here so per
alex clarke (OOO till 29th) 2015/10/30 12:12:25 Not entirely no. Timer alignment will still happe
Sami 2015/10/30 14:09:50 Right, so essentially with virtual time there's no
13 const char kEnableVirtualizedTime[] = "enable-virtualized-time";
14
15 } // namespace switches
16 } // namespace scheduler
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698