MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / thread_num

Method thread_num

oneflow/core/thread/thread_pool.h:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 ~ThreadPool();
30
31 int32_t thread_num() const { return threads_.size(); }
32 void AddWork(const std::function<void()>& work);
33
34 private:

Callers 8

ComputeMethod · 0.80
CpuTopKFunction · 0.80
ComputeMethod · 0.80
ComputeMethod · 0.80
CallMethod · 0.80
CallMethod · 0.80
MultiThreadLoopFunction · 0.80
ConcatSplitDataContentFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected