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

Method GetCounter

util/thread/lfqueue.h:354–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352 return res;
353 }
354 TCounter GetCounter() {
355 AsyncRef();
356 TRootNode* curRoot = JobQueue.load(std::memory_order_acquire);
357 TCounter res = *(TCounter*)curRoot;
358 AsyncUnref();
359 return res;
360 }
361};
362
363template <class T, class TCounter>

Callers 3

SizeMethod · 0.45
SizeMethod · 0.45
GetCounterMethod · 0.45

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected