Searched refs:max_running_jobs_ (Results 1 – 2 of 2) sorted by relevance
19 max_running_jobs_(limits.reserved_slots.size()), in PrioritizedDispatcher()30 if (num_running_jobs_ < max_running_jobs_[priority]) { in Add()42 if (num_running_jobs_ < max_running_jobs_[priority]) { in AddAtHead()67 DCHECK_GE(num_running_jobs_, max_running_jobs_[handle.priority()]) << in ChangePriority()87 size_t num_priorities = max_running_jobs_.size(); in GetLimits()88 Limits limits(num_priorities, max_running_jobs_.back()); in GetLimits()93 limits.reserved_slots[i] = max_running_jobs_[i] - max_running_jobs_[i - 1]; in GetLimits()104 max_running_jobs_[i] = total; in SetLimits()110 max_running_jobs_[i - 1] += spare; in SetLimits()127 if (num_running_jobs_ >= max_running_jobs_[job_priority]) in MaybeDispatchJob()
73 size_t num_priorities() const { return max_running_jobs_.size(); } in num_priorities()129 std::vector<size_t> max_running_jobs_; variable