Home
last modified time | relevance | path

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

/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.h214 struct PointerPositions { struct
229 bool IsCorrupt(const PointerPositions& pos); argument
231 inline std::optional<PointerPositions> GetPointerPositions() { in GetPointerPositions()
232 PointerPositions pos; in GetPointerPositions()
242 std::optional<PointerPositions> result; in GetPointerPositions()
254 inline size_t read_avail(const PointerPositions& pos) { in read_avail()
261 inline size_t write_avail(const PointerPositions& pos) { in write_avail()
Dshared_ring_buffer.cc189 std::optional<PointerPositions> opt_pos = GetPointerPositions(); in BeginWrite()
248 std::optional<PointerPositions> opt_pos = GetPointerPositions(); in BeginRead()
299 bool SharedRingBuffer::IsCorrupt(const PointerPositions& pos) { in IsCorrupt()