Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/core/
Dshared_memory_abi_unittest.cc100 uint16_t packets_count = static_cast<uint16_t>(chunk_idx * 10); in TEST_P() local
103 header.packets.store({packets_count, flags}); in TEST_P()
128 ASSERT_EQ(packets_count, chunk.header()->packets.load().count); in TEST_P()
130 ASSERT_EQ(std::make_pair(packets_count, flags), in TEST_P()
134 ASSERT_EQ(packets_count + 1, chunk.header()->packets.load().count); in TEST_P()
137 ASSERT_EQ(packets_count + 2, chunk.header()->packets.load().count); in TEST_P()
Dtrace_writer_impl_unittest.cc80 size_t packets_count = 0; in TEST_P() local
91 packets_count += chunk.header()->packets.load().count; in TEST_P()
94 EXPECT_EQ(kNumPackets, packets_count); in TEST_P()
/external/perfetto/include/perfetto/tracing/core/
Dshared_memory_abi.h374 const uint16_t packets_count = packets.count; in GetPacketCountAndFlags() local
376 return std::make_pair(packets_count, packets_flags); in GetPacketCountAndFlags()