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.h135 struct PointerPositions { struct
150 bool IsCorrupt(const PointerPositions& pos); argument
152 inline base::Optional<PointerPositions> GetPointerPositions( in GetPointerPositions()
156 PointerPositions pos; in GetPointerPositions()
160 base::Optional<PointerPositions> result; in GetPointerPositions()
167 inline size_t read_avail(const PointerPositions& pos) { in read_avail()
174 inline size_t write_avail(const PointerPositions& pos) { in write_avail()
Dshared_ring_buffer.cc177 base::Optional<PointerPositions> opt_pos = GetPointerPositions(spinlock); in BeginWrite()
226 base::Optional<PointerPositions> opt_pos = GetPointerPositions(spinlock); in BeginRead()
277 bool SharedRingBuffer::IsCorrupt(const PointerPositions& pos) { in IsCorrupt()