Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_fd.cpp216 size_t read_head = in GetAvailableMmapData() local
219 if (read_head == write_head) { in GetAvailableMmapData()
224 if (read_head < write_head) { in GetAvailableMmapData()
225 read_bytes = write_head - read_head; in GetAvailableMmapData()
227 read_bytes = mmap_data_buffer_size_ - read_head + write_head; in GetAvailableMmapData()
240 if (read_head < write_head) { in GetAvailableMmapData()
241 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData()
242 size_t n = write_head - read_head; in GetAvailableMmapData()
245 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData()
246 size_t n = mmap_data_buffer_size_ - read_head; in GetAvailableMmapData()