| 86 | "Per Host Min Memory Reservation"; |
| 87 | |
| 88 | Scheduler::Scheduler(MetricGroup* metrics, RequestPoolService* request_pool_service) |
| 89 | : metrics_(metrics->GetOrCreateChildGroup("scheduler")), |
| 90 | request_pool_service_(request_pool_service) { |
| 91 | LOG(INFO) << "Starting scheduler"; |
| 92 | if (metrics_ != nullptr) { |
| 93 | total_assignments_ = metrics_->AddCounter(ASSIGNMENTS_KEY, 0); |
| 94 | total_local_assignments_ = metrics_->AddCounter(LOCAL_ASSIGNMENTS_KEY, 0); |
| 95 | initialized_ = metrics_->AddProperty(SCHEDULER_INIT_KEY, true); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | const BackendDescriptorPB& Scheduler::LookUpBackendDesc( |
| 100 | const ExecutorConfig& executor_config, const NetworkAddressPB& host) { |
nothing calls this directly
no test coverage detected