Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_fd.cpp142 size_t read_head = static_cast<size_t>(mmap_metadata_page_->data_tail & buf_mask); in GetAvailableMmapData() local
144 if (read_head == write_head) { in GetAvailableMmapData()
155 if (read_head < write_head) { in GetAvailableMmapData()
156 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData()
157 size_t n = write_head - read_head; in GetAvailableMmapData()
161 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData()
162 size_t n = mmap_data_buffer_size_ - read_head; in GetAvailableMmapData()