MCPcopy Create free account
hub / github.com/catboost/catboost / ScheduleJobRequest

Function ScheduleJobRequest

library/cpp/par/par_exec.cpp:18–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 }
17
18 static bool ScheduleJobRequest(TJobRequest* src, TRemoteQueryProcessor* queryProc) {
19 TVector<bool> selectedComps;
20 if (!RescheduleJobRequest(&src->Descr, src->HostId2Computer, src->HostId2Computer, &selectedComps))
21 return false;
22
23 queryProc->GetExecPlan(&src->ExecPlan);
24 ProjectExecPlan(&src->ExecPlan, selectedComps);
25
26 CheckSchedule(*src);
27 return true;
28 }
29
30 bool RescheduleJobRequest(TJobRequest* src, const TVector<ui16>& parentExecPlan, int localCompId, int ignoreCompId) {
31 Y_ASSERT(!parentExecPlan.empty());

Callers 1

LaunchJobRequestFunction · 0.85

Calls 4

ProjectExecPlanFunction · 0.85
CheckScheduleFunction · 0.85
GetExecPlanMethod · 0.80
RescheduleJobRequestFunction · 0.70

Tested by

no test coverage detected