MCPcopy Create free account
hub / github.com/alibaba/graph-learn / IntraThreadPool

Method IntraThreadPool

graphlearn/src/platform/env.cc:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66ThreadPool* Env::IntraThreadPool() {
67 if (intra_tp_ == nullptr) {
68 intra_tp_.reset(new ThreadPool(GLOBAL_FLAG(IntraThreadNum)));
69 intra_tp_->Startup();
70 }
71 return intra_tp_.get();
72}
73
74ThreadPool* Env::ReservedThreadPool() {
75 if (reserved_tp_ == nullptr) {

Callers 1

ThreadDagSchedulerMethod · 0.80

Calls 2

StartupMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected