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

Method GetHostIdCount

library/cpp/par/par_context.cpp:458–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456 }
457
458 int TContextDistributor::GetHostIdCount(int envId) {
459 Y_ASSERT(EnvId2Info.find(envId) != EnvId2Info.end());
460 return EnvId2Info[envId].HostId2Computer.ysize();
461 }
462
463 void TContextDistributor::WaitDistribution() {
464 CHROMIUM_TRACE_FUNCTION();

Callers 3

LaunchLocalJobRequestFunction · 0.45
DoMapMethod · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
ysizeMethod · 0.45

Tested by

no test coverage detected