Home
last modified time | relevance | path

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

/external/perfetto/include/perfetto/tracing/core/
Dshared_memory_abi.h499 uint32_t page_layout,
521 static constexpr uint32_t GetNumChunksForLayout(uint32_t page_layout) { in GetNumChunksForLayout() argument
522 return kNumChunksForLayout[(page_layout & kLayoutMask) >> kLayoutShift]; in GetNumChunksForLayout()
529 uint16_t GetChunkSizeForLayout(uint32_t page_layout) const { in GetChunkSizeForLayout() argument
530 return chunk_sizes_[(page_layout & kLayoutMask) >> kLayoutShift]; in GetChunkSizeForLayout()
/external/perfetto/src/tracing/core/
Dtrace_writer_impl_unittest.cc92 uint32_t page_layout = abi->page_layout_dbg(page_idx); in TEST_P() local
93 size_t num_chunks = SharedMemoryABI::GetNumChunksForLayout(page_layout); in TEST_P()
Dshared_memory_abi.cc132 uint32_t page_layout, in GetChunkUnchecked() argument
134 const size_t num_chunks = GetNumChunksForLayout(page_layout); in GetChunkUnchecked()
137 const uint16_t chunk_size = GetChunkSizeForLayout(page_layout); in GetChunkUnchecked()