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

Method getQueueSize

snap_drawing/src/snap_drawing/cpp/Utils/ImageQueue.cpp:132–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132size_t ImageQueue::getQueueSize() const {
133 std::lock_guard<Valdi::Mutex> lock(_mutex);
134 return _queue.size();
135}
136
137size_t ImageQueue::getPoolSize() const {
138 std::lock_guard<Valdi::Mutex> lock(_mutex);

Callers 2

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64