Home
last modified time | relevance | path

Searched refs:NumEnqueuedTasks (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbasic_batch_scheduler_test.cc77 EXPECT_EQ(0, scheduler->NumEnqueuedTasks()); in TEST()
80 EXPECT_EQ(1, scheduler->NumEnqueuedTasks()); in TEST()
83 EXPECT_EQ(2, scheduler->NumEnqueuedTasks()); in TEST()
Dadaptive_shared_batch_scheduler_test.cc132 while (queue->NumEnqueuedTasks() > 0) { in TEST()
135 while (queue->NumEnqueuedTasks() > 0) { in TEST()
253 while (queue1->NumEnqueuedTasks() > 0) { in TEST()
306 while (queue->NumEnqueuedTasks() > 0) { in TEST()
340 while (queue->NumEnqueuedTasks() > 0) { in TEST()
344 EXPECT_EQ(queue->NumEnqueuedTasks(), 1); in TEST()
349 EXPECT_EQ(queue->NumEnqueuedTasks(), 3); in TEST()
354 EXPECT_EQ(queue->NumEnqueuedTasks(), 1); in TEST()
Dbasic_batch_scheduler.h275 size_t NumEnqueuedTasks() const override;
347 size_t BasicBatchScheduler<TaskType>::NumEnqueuedTasks() const { in NumEnqueuedTasks() function
348 return shared_scheduler_queue_->NumEnqueuedTasks(); in NumEnqueuedTasks()
Dshared_batch_scheduler_test.cc432 EXPECT_EQ(0, queue->NumEnqueuedTasks()); in TEST()
439 EXPECT_EQ(0, queue->NumEnqueuedTasks()); in TEST()
444 EXPECT_EQ(i * 2, queue->NumEnqueuedTasks()); in TEST()
447 EXPECT_EQ((i * 2) + 1, queue->NumEnqueuedTasks()); in TEST()
452 EXPECT_EQ(max_enqueued_batches * 2, queue->NumEnqueuedTasks()); in TEST()
459 EXPECT_EQ(max_enqueued_batches * 2, queue->NumEnqueuedTasks()); in TEST()
Dshared_batch_scheduler.h293 size_t NumEnqueuedTasks() const;
407 size_t NumEnqueuedTasks() const override;
766 size_t Queue<TaskType>::NumEnqueuedTasks() const { in NumEnqueuedTasks() function
906 size_t QueueHandle<TaskType>::NumEnqueuedTasks() const { in NumEnqueuedTasks() function
907 return queue_->NumEnqueuedTasks(); in NumEnqueuedTasks()
Dserial_device_batch_scheduler_test.cc379 EXPECT_EQ(queue2->NumEnqueuedTasks(), 1); in TEST()
384 EXPECT_EQ(queue2->NumEnqueuedTasks(), 3); in TEST()
388 EXPECT_EQ(queue2->NumEnqueuedTasks(), 4); in TEST()
Dbatch_scheduler.h177 virtual size_t NumEnqueuedTasks() const = 0;
Dserial_device_batch_scheduler.h217 size_t NumEnqueuedTasks() const override;
530 size_t SDBSQueue<TaskType>::NumEnqueuedTasks() const { in NumEnqueuedTasks() function
Dadaptive_shared_batch_scheduler.h275 size_t NumEnqueuedTasks() const override;
724 size_t ASBSQueue<TaskType>::NumEnqueuedTasks() const { in NumEnqueuedTasks() function