Home
last modified time | relevance | path

Searched refs:scheduler (Results 1 – 25 of 103) sorted by relevance

12345

/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DSchedulerTest.java11 private Scheduler scheduler; field in SchedulerTest
15 scheduler = new Scheduler(); in setUp()
16 scheduler.pause(); in setUp()
22 scheduler.postDelayed(new AddToTranscript("one"), 0); in testTick_ReturnsTrueIffSomeJobWasRun()
23 scheduler.postDelayed(new AddToTranscript("two"), 0); in testTick_ReturnsTrueIffSomeJobWasRun()
24 scheduler.postDelayed(new AddToTranscript("three"), 1000); in testTick_ReturnsTrueIffSomeJobWasRun()
26 assertThat(scheduler.advanceBy(0), equalTo(true)); in testTick_ReturnsTrueIffSomeJobWasRun()
29 assertThat(scheduler.advanceBy(0), equalTo(false)); in testTick_ReturnsTrueIffSomeJobWasRun()
32 assertThat(scheduler.advanceBy(1000), equalTo(true)); in testTick_ReturnsTrueIffSomeJobWasRun()
38 scheduler.postDelayed(new AddToTranscript("one"), 1000); in testShadowPostDelayed()
[all …]
/external/v8/benchmarks/
Drichards.js48 var scheduler = new Scheduler();
49 scheduler.addIdleTask(ID_IDLE, 0, null, COUNT);
53 scheduler.addWorkerTask(ID_WORKER, 1000, queue);
58 scheduler.addHandlerTask(ID_HANDLER_A, 2000, queue);
63 scheduler.addHandlerTask(ID_HANDLER_B, 3000, queue);
65 scheduler.addDeviceTask(ID_DEVICE_A, 4000, null);
67 scheduler.addDeviceTask(ID_DEVICE_B, 5000, null);
69 scheduler.schedule();
71 if (scheduler.queueCount != EXPECTED_QUEUE_COUNT ||
72 scheduler.holdCount != EXPECTED_HOLD_COUNT) {
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLooper.java21 private Scheduler scheduler = new Scheduler(); field in ShadowLooper
69 scheduler.reset();
108 scheduler.advanceBy(0);
118 scheduler.advanceBy(intervalMillis);
126 scheduler.advanceToLastPostedRunnable();
134 scheduler.advanceToNextPostedRunnable();
143 scheduler.runOneTask();
154 scheduler.postDelayed(runnable, delayMillis);
163 scheduler.postAtFrontOfQueue(runnable);
171 scheduler.pause();
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractScheduledServiceTest.java69 @Override protected Scheduler scheduler() { return configuration; } in scheduler() method in AbstractScheduledServiceTest.NullService
170 @Override protected Scheduler scheduler() { in testDefaultExecutorIsShutdownWhenServiceIsStopped()
206 @Override protected Scheduler scheduler() { in testDefaultExecutorIsShutdownWhenServiceFails()
291 protected Scheduler scheduler() { in scheduler() method in AbstractScheduledServiceTest.TestService
369 TestCustomScheduler scheduler = new TestCustomScheduler(); in testCustomSchedule_startStop() local
370 Future<?> future = scheduler.schedule(null, Executors.newScheduledThreadPool(10), task); in testCustomSchedule_startStop()
372 assertEquals(1, scheduler.scheduleCounter.get()); in testCustomSchedule_startStop()
375 assertEquals(2, scheduler.scheduleCounter.get()); in testCustomSchedule_startStop()
396 @Override protected Scheduler scheduler() { in testBig()
442 @Override protected Scheduler scheduler() { in scheduler() method in AbstractScheduledServiceTest.SchedulerTest.TestAbstractScheduledCustomService
[all …]
/external/v8/src/compiler/
Dscheduler.cc42 CFGBuilder(Zone* zone, Scheduler* scheduler) in CFGBuilder() argument
43 : scheduler_(scheduler), in CFGBuilder()
44 schedule_(scheduler->schedule_), in CFGBuilder()
243 Scheduler scheduler(&tmp_zone, graph, schedule); in ComputeSchedule() local
245 scheduler.BuildCFG(); in ComputeSchedule()
248 scheduler.GenerateImmediateDominatorTree(); in ComputeSchedule()
250 scheduler.PrepareUses(); in ComputeSchedule()
251 scheduler.ScheduleEarly(); in ComputeSchedule()
252 scheduler.ScheduleLate(); in ComputeSchedule()
254 had_floating_control = scheduler.ConnectFloatingControl(); in ComputeSchedule()
[all …]
/external/llvm/test/CodeGen/AArch64/
Dpostra-mi-sched.ll4 ; pre-RA MI scheduler, fmul, fcvt and fdiv will be consecutive. The top-down
5 ; post-RA MI scheduler will clean this up.
Darm64-triv-disjoint-mem-access.ll2 ; Check that the scheduler moves the load from a[1] past the store into a[2].
/external/llvm/test/CodeGen/X86/
Dbreak-anti-dependencies.ll4 ; RUN: llc < %s -march=x86-64 -mcpu=atom -enable-misched=false -post-RA-scheduler -pre-RA-sched=lis…
7 ; RUN: llc < %s -march=x86-64 -mcpu=atom -post-RA-scheduler -break-anti-dependencies=critical > %t
Dtailcallstack64.ll1 ; RUN: llc < %s -tailcallopt -mcpu=generic -mtriple=x86_64-linux -post-RA-scheduler=true | FileChec…
2 ; RUN: llc < %s -tailcallopt -mcpu=generic -mtriple=x86_64-win32 -post-RA-scheduler=true | FileChec…
Dcritical-anti-dep-breaker.ll1 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -relocation-model=pic -post-RA-scheduler=1 -break…
7 ; The post-RA-scheduler and critical-anti-dependency breaker can eliminate that hazard using R10.
Dpr7882.ll3 ; make sure scheduler honors the flags clobber. PR 7882.
D2012-05-17-TwoAddressBug.ll5 ; because of poor pre-RA schedule. That will be fixed by MI scheduler.
Dfastcc.ll1 ; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 -post-RA-scheduler=false | FileCheck %s
/external/llvm/docs/CommandGuide/
Dlli.rst181 **-disable-post-RA-scheduler**
209 **-pre-RA-sched**\ =\ *scheduler*
216 =default: Best scheduler for the target
222 =list-td: Top-down list scheduler -print-machineinstrs - Print generated machine code
/external/llvm/test/CodeGen/R600/
Dlds-output-queue.ll28 ; The machine scheduler does not do proper alias analysis and assumes that
53 ; The bottom scheduler will schedule the two ALU instructions first:
83 ; expanding them after scheduling. Once the scheduler has better alias
Dvtx-schedule.ll3 ; This test is for a scheduler bug where VTX_READ instructions that used
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DFragmentManagerTest.java202 Scheduler scheduler = shadowOf(Looper.getMainLooper()).getScheduler(); in executePendingTransactions_shouldRunPendingCommitsAsIfTheMainLooperWereNotPaused() local
211 assertEquals(3, scheduler.enqueuedTaskCount()); in executePendingTransactions_shouldRunPendingCommitsAsIfTheMainLooperWereNotPaused()
219 assertEquals(1, scheduler.enqueuedTaskCount()); in executePendingTransactions_shouldRunPendingCommitsAsIfTheMainLooperWereNotPaused()
/external/valgrind/coregrind/
Dpub_core_scheduler.h92 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid );
/external/valgrind/gdbserver_tests/
DmcinfcallRU.vgtest4 # too much dependencies to the scheduler fairness.
DmcinfcallWSRU.vgtest5 # but this introduces too much dependencies to scheduler fairness.
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractScheduledService.java199 runningTask = scheduler().schedule(delegate, executorService, task);
267 protected abstract Scheduler scheduler();
/external/llvm/include/llvm/Target/
DTargetSchedule.td96 // bit. Otherwise, the scheduler considers an unmodelled opcode to
122 // clock cycles, but the scheduler does not pin them to a particular
125 // the scheduler counts down from the cycle that the instruction
129 // an in-order latency resource. In this case, the scheduler models
207 // Define a scheduler resource associated with a def operand.
211 // Define a scheduler resource associated with a use operand.
277 // operands. The scheduler assumes that all micro-ops must be
/external/junit/src/org/junit/runners/
DParentRunner.java375 public void setScheduler(RunnerScheduler scheduler) {
376 this.fScheduler = scheduler;
/external/iproute2/
DREADME.iproute2+tc7 * csz scheduler is inoperational at the moment, and probably
8 never will be repaired but replaced with h-pfq scheduler.
/external/llvm/test/CodeGen/ARM/
D2011-04-07-schediv.ll13 ; Make sure the scheduler schedules all uses of the preincrement

12345