MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetLength

Method GetLength

lib/base/ringbuffer.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13{ }
14
15RingBuffer::SizeType RingBuffer::GetLength() const
16{
17 std::unique_lock<std::mutex> lock(m_Mutex);
18 return m_Slots.size();
19}
20
21void RingBuffer::InsertValue(RingBuffer::SizeType tv, int num)
22{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected