/external/perfetto/src/tracing/core/ |
shared_memory_arbiter_impl_unittest.cc | 62 arbiter_.reset(new SharedMemoryArbiterImpl(buf(), buf_size(), page_size(), 68 arbiter_.reset(); 73 std::unique_ptr<SharedMemoryArbiterImpl> arbiter_; member in class:perfetto::__anon35980::SharedMemoryArbiterImplTest 93 chunks[i] = arbiter_->GetNewChunk({}, 0 /*size_hint*/); 117 arbiter_->ReturnCompletedChunk(std::move(chunks[i ^ 1]), i % 5, &ignored); 118 arbiter_->ReturnCompletedChunk(std::move(chunks[29]), 42, &ignored); 133 arbiter_->ReturnCompletedChunk(std::move(chunks[28]), 43, &ignored); 154 std::unique_ptr<TraceWriter> writer = arbiter_->CreateTraceWriter(0); 162 ASSERT_EQ(arbiter_->CreateTraceWriter(0)->writer_id(), 0);
|
trace_writer_impl_unittest.cc | 43 arbiter_.reset(new SharedMemoryArbiterImpl(buf(), buf_size(), page_size(), 49 arbiter_.reset(); 55 std::unique_ptr<SharedMemoryArbiterImpl> arbiter_; member in class:perfetto::__anon35990::TraceWriterImplTest 66 std::unique_ptr<TraceWriter> writer = arbiter_->CreateTraceWriter(kBufId); 79 SharedMemoryABI* abi = arbiter_->shmem_abi_for_testing(); 100 std::unique_ptr<TraceWriter> writer = arbiter_->CreateTraceWriter(kBufId); 112 arbiter_->FlushPendingCommitDataRequests(); 120 SharedMemoryABI* abi = arbiter_->shmem_abi_for_testing(); 137 arbiter_->FlushPendingCommitDataRequests();
|
startup_trace_writer_registry.cc | 56 PERFETTO_DCHECK(!arbiter_); // Should only be called while unbound. 65 PERFETTO_DCHECK(!arbiter_); // Should only be called while unbound. 80 PERFETTO_DCHECK(!arbiter_); 81 arbiter_ = arbiter; 100 bool success = writer->BindToArbiter(arbiter_, target_buffer_); 111 if ((*it)->BindToArbiter(arbiter_, target_buffer_)) {
|
startup_trace_writer_unittest.cc | 44 arbiter_.reset(new SharedMemoryArbiterImpl(buf(), buf_size(), page_size(), 50 arbiter_.reset(); 62 return writer->BindToArbiter(arbiter_.get(), kBufId); 73 SharedMemoryABI* abi = arbiter_->shmem_abi_for_testing(); 172 std::unique_ptr<SharedMemoryArbiterImpl> arbiter_; member in class:perfetto::StartupTraceWriterTest 205 new StartupTraceWriter(arbiter_->CreateTraceWriter(kBufId))); 310 arbiter_->BindStartupTraceWriterRegistry(std::move(registry), kBufId); 311 EXPECT_EQ(1u, GetUnboundWriterCount(*arbiter_)); 319 if (!GetBindingRegistriesCount(*arbiter_)) {
|
/external/perfetto/include/perfetto/tracing/core/ |
startup_trace_writer_registry.h | 135 SharedMemoryArbiterImpl* arbiter_ = nullptr; // |nullptr| while unbound. member in class:perfetto::StartupTraceWriterRegistry
|