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

Method IncLastCount

library/cpp/par/par_remote.cpp:312–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310 }
311
312 void TRemoteQueryProcessor::IncLastCount(int compId) {
313 Y_ASSERT(compId >= 0 && compId < LastCounts.ysize());
314 if (compId >= 0 && compId < LastCounts.ysize())
315 AtomicAdd(LastCounts[compId].Counter, 1);
316 }
317
318 void TRemoteQueryProcessor::TInitCmd::NewRequest(TRemoteQueryProcessor* p, TNetworkRequest* req) {
319 CHROMIUM_TRACE_FUNCTION();

Callers 1

ReschedulePartRequestMethod · 0.80

Calls 2

AtomicAddFunction · 0.50
ysizeMethod · 0.45

Tested by

no test coverage detected