Searched refs:best_it (Results 1 – 5 of 5) sorted by relevance
78 auto best_it = pool.end();83 if (best_it == pool.end() || size_diff < best_size_diff) {93 best_it = pool_it;105 best_it = pool_it;110 if (best_it == pool.end() ||113 best_it = pool_it;117 if (best_it == pool.end()) {123 if (best_it == pool.end()) {132 size_t shared_id = best_it->object_id;133 pool.erase(best_it);[all …]
151 std::list<Cluster>::const_iterator best_it = clusters.end(); in FindBestProbe() local163 best_it = it; in FindBestProbe()176 return best_it; in FindBestProbe()191 std::list<Cluster>::const_iterator best_it = FindBestProbe(clusters); in ProcessClusters() local192 if (best_it != clusters.end()) { in ProcessClusters()194 std::min(best_it->GetSendBitrateBps(), best_it->GetRecvBitrateBps()); in ProcessClusters()199 << best_it->GetSendBitrateBps() << " bps, received at " in ProcessClusters()200 << best_it->GetRecvBitrateBps() in ProcessClusters()201 << " bps. Mean send delta: " << best_it->send_mean_ms in ProcessClusters()202 << " ms, mean recv delta: " << best_it->recv_mean_ms in ProcessClusters()[all …]
387 auto best_it = batches_.begin(); in ProcessBatches() local389 (*best_it)->creation_time_micros() - in ProcessBatches()390 options_.full_batch_scheduling_boost_micros * (*best_it)->size() / in ProcessBatches()391 static_cast<double>((*best_it)->queue()->max_task_size()); in ProcessBatches()399 best_it = it; in ProcessBatches()402 const internal::SDBSBatch<TaskType>* batch = *best_it; in ProcessBatches()403 batches_.erase(best_it); in ProcessBatches()
474 auto best_it = batches_.end(); in MaybeScheduleNextBatch() local483 if (best_it == batches_.end() || score < best_score) { in MaybeScheduleNextBatch()485 best_it = it; in MaybeScheduleNextBatch()489 if (best_it == batches_.end()) return; in MaybeScheduleNextBatch()490 const internal::ASBSBatch<TaskType>* batch = *best_it; in MaybeScheduleNextBatch()491 batches_.erase(best_it); in MaybeScheduleNextBatch()
313 auto best_it = ready_queue.end(); in CreateSchedule() local314 --best_it; in CreateSchedule()315 HloInstruction* best = best_it->second.instruction; in CreateSchedule()317 << " Bytes freed: " << best_it->first.first; in CreateSchedule()318 ready_queue.erase(best_it); in CreateSchedule()