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

Method GetResults

library/cpp/par/par_remote.cpp:89–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 Ready.Signal();
88 }
89 void GetResults(TVector<TVector<char>>* res) {
90 Ready.Reset();
91 if (AtomicGet(QueryCount) != AtomicGet(ResultCount))
92 Ready.Wait();
93 if (res)
94 res->swap(Results);
95 Results.resize(0);
96 AtomicSet(QueryCount, 0);
97 AtomicSet(ResultCount, 0);
98 }
99 };
100 //////////////////////////////////////////////////////////////////////////
101 TGUID TRemoteQueryProcessor::SendQuery(int compId, const char* query, TVector<char>* cmdData, IRemoteQueryResponseNotify* proc, int resId) {

Callers 3

RunMasterMethod · 0.80
StopSlavesMethod · 0.80
RunBenchmarksFunction · 0.80

Calls 6

AtomicGetFunction · 0.50
AtomicSetFunction · 0.50
ResetMethod · 0.45
WaitMethod · 0.45
swapMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected