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.h205 struct PointerPositions { struct
220 bool IsCorrupt(const PointerPositions& pos); argument
222 inline base::Optional<PointerPositions> GetPointerPositions() { in GetPointerPositions()
223 PointerPositions pos; in GetPointerPositions()
233 base::Optional<PointerPositions> result; in GetPointerPositions()
245 inline size_t read_avail(const PointerPositions& pos) { in read_avail()
252 inline size_t write_avail(const PointerPositions& pos) { in write_avail()
Dshared_ring_buffer.cc190 base::Optional<PointerPositions> opt_pos = GetPointerPositions(); in BeginWrite()
249 base::Optional<PointerPositions> opt_pos = GetPointerPositions(); in BeginRead()
299 bool SharedRingBuffer::IsCorrupt(const PointerPositions& pos) { in IsCorrupt()