Home
last modified time | relevance | path

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

/developtools/hiperf/src/
Dring_buffer.cpp40 size_t writeHead = head_.load(std::memory_order_relaxed); in AllocForWrite() local
42 size_t writePos = writeHead % size_; in AllocForWrite()
50 } else if (writePos == readPos and writeHead != readHead) { in AllocForWrite()
80 size_t writeHead = head_.load(std::memory_order_acquire); in GetReadData() local
82 if (writeHead == readHead) { in GetReadData()
87 size_t writePos = writeHead % size_; in GetReadData()