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

Method PerformSend

library/cpp/par/par_context.cpp:149–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 void TContextDistributor::PerformSend(int srcComp, int dstComp,
150 int queryComp, const char* cmd,
151 TFullCtxInfo& fullCtx, int envId, int hostId, int part, int dataVersion,
152 TVector<char>* buf) {
153 CHROMIUM_TRACE_FUNCTION();
154 ++ComputerSendCount[srcComp + 1];
155 ++QueryId;
156 TransferInfos[QueryId] = TTransferInfo(envId, hostId, part, srcComp, dstComp, dataVersion);
157 fullCtx.CopyInitiated[dstComp][part] = true;
158 AtomicAdd(ActiveReqCount, 1);
159 QueryProc->SendQuery(queryComp, cmd, buf, this, QueryId);
160 }
161
162 void TContextDistributor::GotResponse(int id, TVector<char>*) {
163 CHROMIUM_TRACE_FUNCTION();

Callers

nothing calls this directly

Calls 3

TTransferInfoClass · 0.85
SendQueryMethod · 0.80
AtomicAddFunction · 0.50

Tested by

no test coverage detected