MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getPoolSize

Method getPoolSize

valdi/src/valdi/runtime/Views/ViewFactory.cpp:56–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56size_t ViewFactory::getPoolSize() const {
57 std::lock_guard<Mutex> lock(_mutex);
58 return _pooledViews.size();
59}
60
61IViewManager& ViewFactory::getViewManager() const {
62 return _viewManager;

Callers 3

TEST_PFunction · 0.45
getViewPoolsStatsMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 1

TEST_PFunction · 0.36