Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DUnixSocket.h58 : data_(capacity), read_head_(0), valid_bytes_(0) {} in UnixSocketMessageBuffer()
69 uint32_t write_head = (read_head_ + valid_bytes_) % data_.size(); in StoreMessage()
83 *pdata = &data_[read_head_]; in PeekData()
84 if (read_head_ + valid_bytes_ <= data_.size()) { in PeekData()
87 return data_.size() - read_head_; in PeekData()
92 read_head_ = (read_head_ + size) % data_.size(); in CommitData()
98 uint32_t read_head_; variable