Home
last modified time | relevance | path

Searched refs:kMaxWriterID (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl_unittest.cc235 EXPECT_LE(id, kMaxWriterID); in RegisterTraceWriter()
236 if (id > 0 && id <= kMaxWriterID) { in RegisterTraceWriter()
242 if (++unregister_calls_ == kMaxWriterID) in UnregisterTraceWriter()
246 EXPECT_LE(id, kMaxWriterID); in UnregisterTraceWriter()
247 if (id > 0 && id <= kMaxWriterID) { in UnregisterTraceWriter()
253 std::bitset<kMaxWriterID> registered_ids_;
254 std::bitset<kMaxWriterID> unregistered_ids_;
273 for (size_t i = 0; i < kMaxWriterID; i++) { in TEST_P()
Dshared_memory_abi_unittest.cc95 last_writer_id = (last_writer_id + 1) & kMaxWriterID; in TEST_P()
Dshared_memory_abi.cc135 PERFETTO_CHECK(kMaxWriterID <= chunk_header.writer_id.load()); in Initialize()
Dtracing_service_impl.h418 static_assert(kMaxPacketSequenceID > kMaxProducerID * kMaxWriterID, in GetPacketSequenceID()
Dshared_memory_arbiter_impl.cc88 active_writer_ids_(kMaxWriterID), in SharedMemoryArbiterImpl()
Dtrace_buffer_unittest.cc338 std::uniform_int_distribution<WriterID> wri_dist(1, kMaxWriterID); in TEST_F()
Dtracing_service_impl.cc2637 if (!writer_id || writer_id > kMaxWriterID || !buf) { in ApplyChunkPatches()
/external/perfetto/include/perfetto/ext/tracing/core/
Dbasic_types.h53 static constexpr WriterID kMaxWriterID = static_cast<WriterID>((1 << 10) - 1); variable