MCPcopy Create free account
hub / github.com/ceph/ceph / get_num_worker

Method get_num_worker

src/msg/async/Stack.h:402–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 }
401 void drain();
402 unsigned get_num_worker() const {
403 return workers.size();
404 }
405
406 // direct is used in tests only
407 virtual void spawn_worker(std::function<void ()> &&) = 0;

Callers 3

exec_eventsMethod · 0.80
TEST_PFunction · 0.80
AsyncMessengerMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 2

exec_eventsMethod · 0.64
TEST_PFunction · 0.64