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

Function SetThreadCount

library/cpp/threading/poor_man_openmp/thread_helper.h:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38namespace NYmp {
39 inline void SetThreadCount(size_t threads) {
40 TMtpQueueHelper::Instance().SetThreadCount(threads);
41 }
42
43 inline size_t GetThreadCount() {
44 return TMtpQueueHelper::Instance().GetThreadCount();

Callers 2

TMtpQueueHelperMethod · 0.85
MainMethod · 0.85

Calls 2

InstanceFunction · 0.85
SetThreadCountMethod · 0.80

Tested by

no test coverage detected