Home
last modified time | relevance | path

Searched refs:data_buf_sz_ (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/profiling/perf/
Devent_reader.cc88 data_buf_sz_(other.data_buf_sz_) { in PerfRingBuffer()
92 other.data_buf_sz_ = 0; in PerfRingBuffer()
121 ret.data_buf_sz_ = data_page_count * base::kPageSize; in Allocate()
122 ret.mmap_sz_ = ret.data_buf_sz_ + base::kPageSize; in Allocate()
136 PERFETTO_CHECK(ret.metadata_page_->data_size = ret.data_buf_sz_); in Allocate()
166 size_t read_pos = static_cast<size_t>(read_offset & (data_buf_sz_ - 1)); in ReadRecordNonconsuming()
169 PERFETTO_DCHECK(read_pos <= data_buf_sz_ - sizeof(perf_event_header)); in ReadRecordNonconsuming()
178 if (read_pos + evt_size > data_buf_sz_) { in ReadRecordNonconsuming()
180 ((read_pos + evt_size) & (data_buf_sz_ - 1))); in ReadRecordNonconsuming()
183 size_t prefix_sz = data_buf_sz_ - read_pos; in ReadRecordNonconsuming()
[all …]
Devent_reader.h63 size_t data_buf_sz_ = 0; variable