Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_fd.cpp152 uint64_t read_head = mmap_metadata_page_->data_tail & buf_mask; in GetAvailableMmapData() local
154 if (read_head == write_head) { in GetAvailableMmapData()
162 *pdata = mmap_data_buffer_ + read_head; in GetAvailableMmapData()
163 if (read_head < write_head) { in GetAvailableMmapData()
164 return write_head - read_head; in GetAvailableMmapData()
166 return mmap_data_buffer_size_ - read_head; in GetAvailableMmapData()