/external/v8/src/compiler/ |
D | scheduler.cc | 28 Scheduler::Scheduler(Zone* zone, Graph* graph, Schedule* schedule, Flags flags, in Scheduler() function in v8::internal::compiler::Scheduler 42 Schedule* Scheduler::ComputeSchedule(Zone* zone, Graph* graph, Flags flags) { in ComputeSchedule() 44 (flags & Scheduler::kTempSchedule) ? zone : graph->zone(); in ComputeSchedule() 48 float node_hint_multiplier = (flags & Scheduler::kSplitNodes) ? 1.1 : 1; in ComputeSchedule() 53 Scheduler scheduler(zone, graph, schedule, flags, node_count_hint); in ComputeSchedule() 69 Scheduler::SchedulerData Scheduler::DefaultSchedulerData() { in DefaultSchedulerData() 75 Scheduler::SchedulerData* Scheduler::GetData(Node* node) { in GetData() 79 Scheduler::Placement Scheduler::InitializePlacement(Node* node) { in InitializePlacement() 116 Scheduler::Placement Scheduler::GetPlacement(Node* node) { in GetPlacement() 120 bool Scheduler::IsLive(Node* node) { return GetPlacement(node) != kUnknown; } in IsLive() [all …]
|
D | scheduler.h | 29 class V8_EXPORT_PRIVATE Scheduler { 82 Scheduler(Zone* zone, Graph* graph, Schedule* schedule, Flags flags, 128 DEFINE_OPERATORS_FOR_FLAGS(Scheduler::Flags)
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | TaskQueue.h | 70 TaskQueue(ThreadPool &Scheduler) : Scheduler(Scheduler) { (void)Scheduler; } in TaskQueue() argument 74 Scheduler.wait(); in ~TaskQueue() 98 Scheduler.async(std::move(T)); in async() 121 Scheduler.async(std::move(Continuation)); in completeTask() 125 ThreadPool &Scheduler; variable
|
/external/v8/benchmarks/ |
D | richards.js | 48 var scheduler = new Scheduler(); 99 function Scheduler() { class 126 Scheduler.prototype.addIdleTask = function (id, priority, queue, count) { 136 Scheduler.prototype.addWorkerTask = function (id, priority, queue) { 146 Scheduler.prototype.addHandlerTask = function (id, priority, queue) { 156 Scheduler.prototype.addDeviceTask = function (id, priority, queue) { 167 Scheduler.prototype.addRunningTask = function (id, priority, queue, task) { 179 Scheduler.prototype.addTask = function (id, priority, queue, task) { 188 Scheduler.prototype.schedule = function () { 204 Scheduler.prototype.release = function (id) { [all …]
|
/external/tensorflow/tensorflow/core/kernels/batching_util/ |
D | adaptive_shared_batch_scheduler_test.cc | 68 using Scheduler = AdaptiveSharedBatchScheduler<FakeTask>; in TEST() typedef 69 std::shared_ptr<Scheduler> scheduler; in TEST() 70 Scheduler::Options options; in TEST() 72 EXPECT_FALSE(Scheduler::Create(options, &scheduler).ok()); in TEST() 73 options = Scheduler::Options(); in TEST() 75 EXPECT_FALSE(Scheduler::Create(options, &scheduler).ok()); in TEST() 76 options = Scheduler::Options(); in TEST() 79 EXPECT_FALSE(Scheduler::Create(options, &scheduler).ok()); in TEST() 80 options = Scheduler::Options(); in TEST() 82 EXPECT_FALSE(Scheduler::Create(options, &scheduler).ok()); in TEST() [all …]
|
D | serial_device_batch_scheduler_test.cc | 68 using Scheduler = SerialDeviceBatchScheduler<FakeTask>; in TEST() typedef 69 std::shared_ptr<Scheduler> scheduler; in TEST() 70 Scheduler::Options default_options; in TEST() 72 Scheduler::Options options = default_options; in TEST() 74 EXPECT_FALSE(Scheduler::Create(options, &scheduler).ok()); in TEST() 77 EXPECT_FALSE(Scheduler::Create(options, &scheduler).ok()); in TEST() 81 EXPECT_FALSE(Scheduler::Create(options, &scheduler).ok()); in TEST() 84 EXPECT_FALSE(Scheduler::Create(options, &scheduler).ok()); in TEST() 87 EXPECT_FALSE(Scheduler::Create(options, &scheduler).ok()); in TEST() 88 options = Scheduler::Options(); in TEST() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractScheduledServiceTest.java | 19 import com.google.common.util.concurrent.AbstractScheduledService.Scheduler; 44 volatile Scheduler configuration = Scheduler.newFixedDelaySchedule(0, 10, TimeUnit.MILLISECONDS); 69 @Override protected Scheduler scheduler() { return configuration; } in scheduler() 161 @Override protected Scheduler scheduler() { in testDefaultExecutorIsShutdownWhenServiceIsStopped() 162 return Scheduler.newFixedDelaySchedule(0, 1, TimeUnit.MILLISECONDS); in testDefaultExecutorIsShutdownWhenServiceIsStopped() 188 @Override protected Scheduler scheduler() { in testDefaultExecutorIsShutdownWhenServiceFails() 189 return Scheduler.newFixedDelaySchedule(0, 1, TimeUnit.MILLISECONDS); in testDefaultExecutorIsShutdownWhenServiceFails() 273 protected Scheduler scheduler() { in scheduler() 301 Scheduler schedule = Scheduler.newFixedRateSchedule(initialDelay, delay, unit); in testFixedRateSchedule() 314 Scheduler schedule = Scheduler.newFixedDelaySchedule(initialDelay, delay, unit); in testFixedDelaySchedule() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | PostRASchedulerList.cpp | 314 SchedulePostRATDList Scheduler(Fn, MLI, AA, RegClassInfo, AntiDepMode, in runOnMachineFunction() local 331 Scheduler.startBlock(&MBB); in runOnMachineFunction() 344 Scheduler.enterRegion(&MBB, I, Current, CurrentCount - Count); in runOnMachineFunction() 345 Scheduler.setEndIndex(CurrentCount); in runOnMachineFunction() 346 Scheduler.schedule(); in runOnMachineFunction() 347 Scheduler.exitRegion(); in runOnMachineFunction() 348 Scheduler.EmitSchedule(); in runOnMachineFunction() 351 Scheduler.Observe(MI, CurrentCount); in runOnMachineFunction() 360 Scheduler.enterRegion(&MBB, MBB.begin(), Current, CurrentCount); in runOnMachineFunction() 361 Scheduler.setEndIndex(CurrentCount); in runOnMachineFunction() [all …]
|
/external/llvm/lib/CodeGen/ |
D | PostRASchedulerList.cpp | 314 SchedulePostRATDList Scheduler(Fn, MLI, AA, RegClassInfo, AntiDepMode, in runOnMachineFunction() local 331 Scheduler.startBlock(&MBB); in runOnMachineFunction() 344 Scheduler.enterRegion(&MBB, I, Current, CurrentCount - Count); in runOnMachineFunction() 345 Scheduler.setEndIndex(CurrentCount); in runOnMachineFunction() 346 Scheduler.schedule(); in runOnMachineFunction() 347 Scheduler.exitRegion(); in runOnMachineFunction() 348 Scheduler.EmitSchedule(); in runOnMachineFunction() 351 Scheduler.Observe(MI, CurrentCount); in runOnMachineFunction() 360 Scheduler.enterRegion(&MBB, MBB.begin(), Current, CurrentCount); in runOnMachineFunction() 361 Scheduler.setEndIndex(CurrentCount); in runOnMachineFunction() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
D | Scheduler.cpp | 228 void Scheduler::dump() const { in dump() 236 bool Scheduler::canBeDispatched(const InstRef &IR, in canBeDispatched() 260 void Scheduler::issueInstructionImpl( in issueInstructionImpl() 279 void Scheduler::issueInstruction( in issueInstruction() 287 void Scheduler::promoteToReadyQueue(SmallVectorImpl<InstRef> &Ready) { in promoteToReadyQueue() 314 InstRef Scheduler::select() { in select() 347 void Scheduler::updatePendingQueue(SmallVectorImpl<InstRef> &Ready) { in updatePendingQueue() 355 void Scheduler::updateIssuedQueue(SmallVectorImpl<InstRef> &Executed) { in updateIssuedQueue() 373 void Scheduler::onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted() 377 void Scheduler::reclaimSimulatedResources(SmallVectorImpl<ResourceRef> &Freed) { in reclaimSimulatedResources() [all …]
|
D | DispatchStage.h | 32 class Scheduler; variable 59 Scheduler &SC; 88 RegisterFile &F, Scheduler &Sched) in DispatchStage()
|
D | ExecuteStage.h | 32 Scheduler &HWS; 40 ExecuteStage(RetireControlUnit &R, Scheduler &S) : Stage(), RCU(R), HWS(S) {} in ExecuteStage()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowLooperTest.java | 24 import org.robolectric.util.Scheduler; 207 Scheduler old = sLooper.getScheduler(); in shouldSetNewScheduler_whenLooperIsReset() 247 Scheduler scheduler = shadowOf(mainLooper).getScheduler(); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler() 250 Scheduler s = new Scheduler(); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler() 281 Scheduler s = new Scheduler(); in reset_setsGlobalScheduler_forMainLooper_byDefault() 291 Scheduler s = new Scheduler(); in reset_setsGlobalScheduler_forMainLooper_withAdvancedScheduling() 301 Scheduler old = sLooper.getScheduler(); in reset_setsNewScheduler_forNonMainLooper_byDefault() 311 Scheduler s = new Scheduler(); in reset_setsSchedulerToMaster_forNonMainLooper_withAdvancedScheduling() 413 Scheduler s = ShadowLooper.getShadowMainLooper().getScheduler(); in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | AbstractScheduledService.java | 111 public abstract static class Scheduler { class in AbstractScheduledService 121 public static Scheduler newFixedDelaySchedule(final long initialDelay, final long delay, in newFixedDelaySchedule() 123 return new Scheduler() { in newFixedDelaySchedule() 140 public static Scheduler newFixedRateSchedule(final long initialDelay, final long period, in newFixedRateSchedule() 142 return new Scheduler() { in newFixedRateSchedule() 155 private Scheduler() {} 269 protected abstract Scheduler scheduler(); 398 public abstract static class CustomScheduler extends Scheduler {
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/ |
D | RoboExecutorService.java | 15 import org.robolectric.util.Scheduler; 21 private final Scheduler scheduler; 26 private final Scheduler scheduler; 28 public AdvancingFutureTask(Scheduler scheduler, Callable<V> callable) { in AdvancingFutureTask() 33 public AdvancingFutureTask(Scheduler scheduler, Runnable runnable, V result) { in AdvancingFutureTask()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-mca/X86/ |
D | scheduler-queue-usage.s | 20 # BDW: Scheduler's queue usage: 26 # KNL: Scheduler's queue usage: 34 # SLM: Scheduler's queue usage: 40 # SNB: Scheduler's queue usage: 46 # SKX-AVX512: Scheduler's queue usage:
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/ |
D | RuntimeEnvironment.java | 14 import org.robolectric.util.Scheduler; 29 private static Scheduler masterScheduler; 162 public static Scheduler getMasterScheduler() { in getMasterScheduler() 175 public static void setMasterScheduler(Scheduler masterScheduler) { in setMasterScheduler()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowApplication.java | 31 import org.robolectric.util.Scheduler; 37 private Scheduler backgroundScheduler = RoboSettings.isUseGlobalScheduler() 39 : new Scheduler(); 90 public Scheduler getForegroundThreadScheduler() { in getForegroundThreadScheduler() 99 public Scheduler getBackgroundThreadScheduler() { in getBackgroundThreadScheduler()
|
D | ShadowMessageQueue.java | 25 import org.robolectric.util.Scheduler; 40 private Scheduler scheduler; 72 public Scheduler getScheduler() { in getScheduler() 76 public void setScheduler(Scheduler scheduler) { in setScheduler()
|
D | ShadowLooper.java | 21 import org.robolectric.util.Scheduler; 369 shadowMessageQueue.setScheduler(new Scheduler()); in resetScheduler() 389 public Scheduler getScheduler() { in getScheduler()
|
D | ShadowOverScroller.java | 8 import org.robolectric.util.Scheduler; 123 private Scheduler getScheduler() { in getScheduler()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | PostRASchedulerList.cpp | 239 SchedulePostRATDList Scheduler(Fn, MLI, MDT, AA, RegClassInfo, AntiDepMode, in runOnMachineFunction() local 257 Scheduler.StartBlock(MBB); in runOnMachineFunction() 266 Scheduler.Run(MBB, I, Current, CurrentCount); in runOnMachineFunction() 267 Scheduler.EmitSchedule(); in runOnMachineFunction() 270 Scheduler.Observe(MI, CurrentCount); in runOnMachineFunction() 278 Scheduler.Run(MBB, MBB->begin(), Current, CurrentCount); in runOnMachineFunction() 279 Scheduler.EmitSchedule(); in runOnMachineFunction() 282 Scheduler.FinishBlock(); in runOnMachineFunction() 285 Scheduler.FixupKills(MBB); in runOnMachineFunction()
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | Scheduler.java | 3 import static org.robolectric.util.Scheduler.IdleState.CONSTANT_IDLE; 4 import static org.robolectric.util.Scheduler.IdleState.PAUSED; 5 import static org.robolectric.util.Scheduler.IdleState.UNPAUSED; 30 public class Scheduler { class
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | RuntimeEnvironmentTest.java | 11 import org.robolectric.util.Scheduler; 78 Scheduler s = new Scheduler(); in getSetMasterScheduler()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | Robolectric.java | 27 import org.robolectric.util.Scheduler; 187 public static Scheduler getForegroundThreadScheduler() { in getForegroundThreadScheduler() 203 public static Scheduler getBackgroundThreadScheduler() { in getBackgroundThreadScheduler()
|