Searched refs:ring_buffer_ (Results 1 – 9 of 9) sorted by relevance
20 : ring_buffer_(new TimestampDataTuple[capacity]), in VCMTimestampMap()28 ring_buffer_[next_add_idx_].timestamp = timestamp; in Add()29 ring_buffer_[next_add_idx_].data = data; in Add()40 if (ring_buffer_[next_pop_idx_].timestamp == timestamp) { in Pop()42 VCMFrameInformation* data = ring_buffer_[next_pop_idx_].data; in Pop()43 ring_buffer_[next_pop_idx_].data = nullptr; in Pop()46 } else if (IsNewerTimestamp(ring_buffer_[next_pop_idx_].timestamp, in Pop()
35 std::unique_ptr<TimestampDataTuple[]> ring_buffer_; variable
35 MultiSink(ByteSpan buffer) : ring_buffer_(true), sequence_id_(0) { in MultiSink()36 ring_buffer_.SetBuffer(buffer); in MultiSink()51 return ring_buffer_.PushBack(entry, sequence_id_++); in HandleEntry()81 void Clear() { ring_buffer_.Clear(); } in Clear()102 ring_buffer::PrefixedEntryRingBufferMulti ring_buffer_;
30 ring_buffer_.SetBuffer(raw_buffer_); in TraceBuffer()62 buffer->ring_buffer_.PushBack(std::span<const std::byte>( in TraceSinkEndBlock()67 return ring_buffer_; in RingBuffer()75 pw::ring_buffer::PrefixedEntryRingBuffer ring_buffer_{false}; member in pw::trace::__anon76b02f780111::TraceBuffer
70 status = ring_buffer_.TryPushBack(log_entry, kLogKey); in PushTokenizedMessage()92 PW_TRY(ring_buffer_.PeekFrontWithPreamble(entry_buffer, in Pop()94 PW_DCHECK_OK(ring_buffer_.PopFront()); in Pop()109 while (ring_buffer_.EntryCount() > 0 && in PopMultiple()
64 ring_buffer_(true) { in pop_status_for_test_()65 ring_buffer_.SetBuffer(log_buffer); in pop_status_for_test_()119 pw::ring_buffer::PrefixedEntryRingBuffer ring_buffer_{true};
217 ring_buffer_(std::move(ring_buffer)) {} in EventReader()253 char* event = ring_buffer_.ReadRecordNonconsuming(); in ReadUntilSample()261 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()278 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()285 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()291 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()
114 PerfRingBuffer ring_buffer_; variable
52 return ring_buffer_.AttachReader(drain.reader_); in AttachDrain()58 return ring_buffer_.DetachReader(drain.reader_); in DetachDrain()