/external/libchrome/base/task_scheduler/ |
D | task_scheduler_impl_unittest.cc | 211 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/ |
D | memory_dump_scheduler_unittest.cc | 43 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/ |
D | policy_scheduler_unittest.cc | 48 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/ |
D | analytical_cost_estimator.cc | 126 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()
|
D | analytical_cost_estimator.h | 67 const VirtualScheduler* GetScheduler() const { return scheduler_.get(); } in GetScheduler() 73 std::unique_ptr<VirtualScheduler> scheduler_; variable
|
D | virtual_scheduler_test.cc | 678 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/ |
D | basic_batch_scheduler_benchmark_test.cc | 132 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()
|
D | serial_device_batch_scheduler.h | 229 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()
|
D | adaptive_shared_batch_scheduler.h | 294 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()
|
D | shared_batch_scheduler.h | 414 std::shared_ptr<SharedBatchScheduler<TaskType>> scheduler_; 893 : scheduler_(scheduler), queue_(queue) {} in QueueHandle()
|