Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DRecordReadThread.cpp36 : read_head_(0), write_head_(0), buffer_size_(buffer_size), buffer_(new char[buffer_size]) {} in RecordBuffer()
39 size_t write_head = write_head_.load(std::memory_order_relaxed); in GetFreeSize()
49 size_t write_head = write_head_.load(std::memory_order_relaxed); in AllocWriteSpace()
74 size_t write_head = write_head_.load(std::memory_order_relaxed); in FinishWrite()
76 write_head_.store(write_head, std::memory_order_release); in FinishWrite()
80 size_t write_head = write_head_.load(std::memory_order_acquire); in GetCurrentRecord()
DRecordReadThread.h59 std::atomic_size_t write_head_; variable