Searched refs:num_queued_jobs (Results 1 – 4 of 4) sorted by relevance
58 size_t num_queued = dispatcher_->num_queued_jobs(); in Add()68 EXPECT_EQ(num_queued, dispatcher_->num_queued_jobs()); in Add()82 size_t num_queued = dispatcher_->num_queued_jobs(); in ChangePriority()89 EXPECT_EQ(num_queued - 1, dispatcher_->num_queued_jobs()); in ChangePriority()95 EXPECT_EQ(num_queued, dispatcher_->num_queued_jobs()); in ChangePriority()103 size_t num_queued = dispatcher_->num_queued_jobs(); in Cancel()107 EXPECT_EQ(num_queued - 1, dispatcher_->num_queued_jobs()); in Cancel()159 EXPECT_EQ(0u, dispatcher_->num_queued_jobs()); in Expect()295 EXPECT_EQ(3u, dispatcher_->num_queued_jobs()); in TEST_F()420 EXPECT_EQ(3u, dispatcher_->num_queued_jobs()); in TEST_F()[all …]
72 size_t num_queued_jobs() const { return queue_.size(); } in num_queued_jobs() function
181 size_t num_queued_jobs = 0; in ~JobScheduler() local183 num_queued_jobs += queue_[i]->GetNumberOfJobs(); in ~JobScheduler()184 DCHECK_EQ(num_queued_jobs, job_map_.size()); in ~JobScheduler()
1855 DCHECK_EQ(0u, dispatcher_.num_queued_jobs()); in SetMaxQueuedJobs()1903 if (dispatcher_.num_queued_jobs() > max_queued_jobs_) { in Resolve()