Home
last modified time | relevance | path

Searched refs:scheduler_ (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/task_scheduler/
Dtask_scheduler_impl_unittest.cc211 TaskSchedulerImplTest() : scheduler_("Test"), field_trial_list_(nullptr) {} in TaskSchedulerImplTest()
236 scheduler_.Start( in StartTaskScheduler()
248 scheduler_.FlushForTesting(); in TearDown()
249 scheduler_.JoinForTesting(); in TearDown()
253 TaskSchedulerImpl scheduler_; member in base::internal::__anon378948bb0111::TaskSchedulerImplTest
271 scheduler_.PostDelayedTaskWithTraits( in TEST_P()
286 scheduler_.PostDelayedTaskWithTraits( in TEST_P()
301 CreateTaskRunnerWithTraitsAndExecutionMode(&scheduler_, GetParam().traits, in TEST_P()
319 scheduler_.PostDelayedTaskWithTraits( in TEST_P()
340 scheduler_.PostDelayedTaskWithTraits( in TEST_P()
[all …]
/external/libchrome/base/trace_event/
Dmemory_dump_scheduler_unittest.cc43 MemoryDumpScheduler scheduler_; member in base::trace_event::MemoryDumpSchedulerTest
67 scheduler_.Stop(); in TEST_F()
70 scheduler_.Start(config, bg_thread_.task_runner()); in TEST_F()
78 scheduler_.Stop(); in TEST_F()
79 scheduler_.Stop(); in TEST_F()
114 scheduler_.Start(config, bg_thread_.task_runner()); in TEST_F()
116 scheduler_.Stop(); in TEST_F()
147 scheduler_.Start(light_config, bg_thread_.task_runner()); in TEST_F()
148 scheduler_.Stop(); in TEST_F()
151 scheduler_.Start(detailed_config, bg_thread_.task_runner()); in TEST_F()
[all …]
/external/libchrome/components/policy/core/common/
Dpolicy_scheduler_unittest.cc48 void Terminate() { scheduler_.reset(); } in Terminate()
53 std::unique_ptr<PolicyScheduler> scheduler_; member in policy::PolicySchedulerTest
61 scheduler_ = std::make_unique<PolicyScheduler>( in TEST_F()
72 scheduler_ = std::make_unique<PolicyScheduler>( in TEST_F()
83 scheduler_ = std::make_unique<PolicyScheduler>( in TEST_F()
97 scheduler_->ScheduleTaskNow(); in TEST_F()
103 scheduler_ = std::make_unique<PolicyScheduler>( in TEST_F()
115 scheduler_->ScheduleTaskNow(); in TEST_F()
/external/tensorflow/tensorflow/core/grappler/costs/
Danalytical_cost_estimator.cc126 scheduler_ = absl::make_unique<VirtualScheduler>( in AnalyticalCostEstimator()
141 scheduler_ = absl::make_unique<VirtualScheduler>( in AnalyticalCostEstimator()
167 auto status = scheduler_->Init(item); in PredictCosts()
194 OpContext op_context = scheduler_->GetCurrNode(); in PredictCosts()
209 } while (scheduler_->MarkCurrNodeExecuted(node_costs)); in PredictCosts()
221 *costs = scheduler_->Summary(run_metadata); in PredictCosts()
223 scheduler_->GenerateRunMetadata(run_metadata); in PredictCosts()
232 scheduler_->GenerateRunMetadata(&run_metadata); in PredictCosts()
Danalytical_cost_estimator.h67 const VirtualScheduler* GetScheduler() const { return scheduler_.get(); } in GetScheduler()
73 std::unique_ptr<VirtualScheduler> scheduler_; variable
Dvirtual_scheduler_test.cc678 scheduler_ = absl::make_unique<TestVirtualScheduler>( in VirtualSchedulerTest()
2258 void InitScheduler() { TF_ASSERT_OK(scheduler_->Init(grappler_item_.get())); } in InitScheduler()
2282 OpContext op_context = scheduler_->GetCurrNode(); in RunScheduler()
2295 more_nodes = scheduler_->MarkCurrNodeExecuted(node_costs); in RunScheduler()
2383 std::unique_ptr<TestVirtualScheduler> scheduler_; member in tensorflow::grappler::__anon8eb856130111::VirtualSchedulerTest
2408 Costs c = scheduler_->Summary(); in TEST_F()
2428 Costs c = scheduler_->Summary(&metadata); in TEST_F()
2520 const auto* device_states = scheduler_->GetDeviceStates(); in TEST_F()
2533 scheduler_->GetPersistentMemoryUsage()); in TEST_F()
2536 scheduler_->GetPeakMemoryUsage()); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbasic_batch_scheduler_benchmark_test.cc132 std::unique_ptr<BasicBatchScheduler<BenchmarkBatchTask>> scheduler_; member in tensorflow::serving::__anon9dfe3e810111::ThroughputBenchmark
153 TF_CHECK_OK(scheduler_->Schedule(&task)); in RunBenchmark()
158 scheduler_.reset(); in RunBenchmark()
168 scheduler_options_, process_batch_callback, &scheduler_)); in ResetState()
218 std::unique_ptr<BasicBatchScheduler<BenchmarkBatchTask>> scheduler_; member in tensorflow::serving::__anon9dfe3e810111::LatencyBenchmark
254 TF_CHECK_OK(scheduler_->Schedule(&task)); in RunBenchmark()
268 scheduler_.reset(); in RunBenchmark()
297 scheduler_options_, process_batch_callback, &scheduler_)); in ResetState()
Dserial_device_batch_scheduler.h229 std::shared_ptr<SerialDeviceBatchScheduler<TaskType>> scheduler_;
467 : scheduler_(scheduler), options_(options) {} in SDBSQueue()
480 scheduler_->env()->SleepForMicroseconds(kSleepMicros); in ~SDBSQueue()
482 scheduler_->RemoveQueue(this); in ~SDBSQueue()
508 new SDBSBatch<TaskType>(this, scheduler_->env()->NowMicros()); in Schedule()
514 if (new_batch != nullptr) scheduler_->AddBatch(new_batch); in Schedule()
Dadaptive_shared_batch_scheduler.h294 std::shared_ptr<AdaptiveSharedBatchScheduler<TaskType>> scheduler_; variable
601 : scheduler_(scheduler), options_(options) {} in ASBSQueue()
614 scheduler_->GetEnv()->SleepForMicroseconds(kSleepMicros); in ~ASBSQueue()
616 scheduler_->RemoveQueue(this); in ~ASBSQueue()
676 this, scheduler_->GetEnv()->NowMicros(), in Schedule()
704 scheduler_->AddBatch(batch); in Schedule()
707 scheduler_->MaybeScheduleClosedBatches(); in Schedule()
Dshared_batch_scheduler.h414 std::shared_ptr<SharedBatchScheduler<TaskType>> scheduler_;
893 : scheduler_(scheduler), queue_(queue) {} in QueueHandle()