Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_events
Method · 0.80
TEST_P
Function · 0.80
AsyncMessenger
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
2
exec_events
Method · 0.64
TEST_P
Function · 0.64