Home
last modified time | relevance | path

Searched refs:target_buffer (Results 1 – 25 of 52) sorted by relevance

123

/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl.cc152 BufferID target_buffer, in ReturnCompletedChunk() argument
156 UpdateCommitDataRequest(std::move(chunk), writer_id, target_buffer, in ReturnCompletedChunk()
161 BufferID target_buffer, in SendPatches() argument
164 UpdateCommitDataRequest(Chunk(), writer_id, target_buffer, patch_list); in SendPatches()
169 BufferID target_buffer, in UpdateCommitDataRequest() argument
197 ctm->set_target_buffer(target_buffer); in UpdateCommitDataRequest()
226 last_chunk_req->set_target_buffer(target_buffer); in UpdateCommitDataRequest()
298 BufferID target_buffer) { in CreateTraceWriter() argument
307 task_runner_->PostTask([weak_this, id, target_buffer] { in CreateTraceWriter()
309 weak_this->producer_endpoint_->RegisterTraceWriter(id, target_buffer); in CreateTraceWriter()
[all …]
Dshared_memory_arbiter_impl.h84 BufferID target_buffer,
91 BufferID target_buffer,
107 BufferID target_buffer) override;
110 BufferID target_buffer) override;
125 BufferID target_buffer,
Dcommit_data_request.cc121 static_assert(sizeof(target_buffer_) == sizeof(proto.target_buffer()), in FromProto()
123 target_buffer_ = static_cast<decltype(target_buffer_)>(proto.target_buffer()); in FromProto()
137 static_assert(sizeof(target_buffer_) == sizeof(proto->target_buffer()), in ToProto()
140 static_cast<decltype(proto->target_buffer())>(target_buffer_)); in ToProto()
168 static_assert(sizeof(target_buffer_) == sizeof(proto.target_buffer()), in FromProto()
170 target_buffer_ = static_cast<decltype(target_buffer_)>(proto.target_buffer()); in FromProto()
196 static_assert(sizeof(target_buffer_) == sizeof(proto->target_buffer()), in ToProto()
199 static_cast<decltype(proto->target_buffer())>(target_buffer_)); in ToProto()
Ddata_source_config.cc78 static_assert(sizeof(target_buffer_) == sizeof(proto.target_buffer()), in FromProto()
80 target_buffer_ = static_cast<decltype(target_buffer_)>(proto.target_buffer()); in FromProto()
132 static_assert(sizeof(target_buffer_) == sizeof(proto->target_buffer()), in ToProto()
135 static_cast<decltype(proto->target_buffer())>(target_buffer_)); in ToProto()
Dstartup_trace_writer.cc143 BufferID target_buffer) { in BindToArbiter() argument
149 auto trace_writer = arbiter->CreateTraceWriter(target_buffer); in BindToArbiter()
169 arbiter, trace_writer_->writer_id(), target_buffer); in BindToArbiter()
302 BufferID target_buffer) { in CommitLocalBufferChunks() argument
371 arbiter->ReturnCompletedChunk(std::move(cur_chunk), target_buffer, in CommitLocalBufferChunks()
Dshared_memory_arbiter_impl_unittest.cc108 ASSERT_EQ(i % 5, req.chunks_to_move()[i].target_buffer()); in TEST_P()
112 ASSERT_EQ(42u, req.chunks_to_move()[28].target_buffer()); in TEST_P()
130 ASSERT_EQ(43u, req.chunks_to_move()[0].target_buffer()); in TEST_P()
Dstartup_trace_writer_registry.cc74 BufferID target_buffer, in BindToArbiter() argument
82 target_buffer_ = target_buffer; in BindToArbiter()
Dtrace_writer_impl_unittest.cc117 EXPECT_EQ(kBufId, last_commit.chunks_to_move()[0].target_buffer()); in TEST_P()
141 EXPECT_EQ(kBufId, last_commit.chunks_to_patch()[0].target_buffer()); in TEST_P()
Dtrace_writer_impl.cc43 BufferID target_buffer) in TraceWriterImpl() argument
46 target_buffer_(target_buffer), in TraceWriterImpl()
/external/perfetto/src/tracing/test/
Dmock_producer.cc77 uint32_t target_buffer) { in RegisterTraceWriter() argument
78 service_endpoint_->RegisterTraceWriter(writer_id, target_buffer); in RegisterTraceWriter()
103 auto target_buffer = static_cast<BufferID>(cfg.target_buffer()); in WaitForDataSourceSetup() local
107 cfg.name(), EnabledDataSource{ds_id, target_buffer, session_id}); in WaitForDataSourceSetup()
124 auto target_buffer = static_cast<BufferID>(cfg.target_buffer()); in WaitForDataSourceStart() local
128 cfg.name(), EnabledDataSource{ds_id, target_buffer, session_id}); in WaitForDataSourceStart()
150 BufferID buf_id = data_source_instances_[data_source_name].target_buffer; in CreateTraceWriter()
Dmock_producer.h39 BufferID target_buffer; member
55 void RegisterTraceWriter(uint32_t writer_id, uint32_t target_buffer);
/external/perfetto/test/configs/
Dandroid_log.cfg11 target_buffer: 1
25 target_buffer: 0
51 target_buffer: 0
Dsys_stats.cfg19 target_buffer: 0
36 target_buffer: 0
46 target_buffer: 1
Dsummary.cfg11 target_buffer: 0
25 target_buffer: 0
Dbackground.cfg14 target_buffer: 0
39 target_buffer: 1
Dprocesses.cfg9 target_buffer: 0
47 target_buffer: 0
Dlong_trace.cfg27 target_buffer: 0
55 target_buffer: 0
Dftrace.cfg9 target_buffer: 0
255 target_buffer: 0
262 target_buffer: 0
/external/perfetto/src/traced/probes/
Dprobes_producer.cc242 PERFETTO_LOG("Ftrace setup (target_buf=%" PRIu32 ")", config.target_buffer()); in CreateFtraceDataSource()
243 const BufferID buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateFtraceDataSource()
260 source_config.target_buffer()); in CreateInodeFileDataSource()
261 auto buffer_id = static_cast<BufferID>(source_config.target_buffer()); in CreateInodeFileDataSource()
272 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateProcessStatsDataSource()
281 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateAndroidPowerDataSource()
290 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateAndroidLogDataSource()
299 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreatePackagesListDataSource()
307 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateSysStatsDataSource()
/external/parameter-framework/asio-1.10.6/include/asio/
Dbuffer.hpp1259 for (mutable_buffer target_buffer(target); in buffer_copy() local
1260 buffer_size(target_buffer) && source_iter != source_end; ++source_iter) in buffer_copy()
1263 std::size_t bytes_copied = buffer_copy(target_buffer, source_buffer); in buffer_copy()
1265 target_buffer = target_buffer + bytes_copied; in buffer_copy()
1433 mutable_buffer target_buffer(*target_iter); in buffer_copy() local
1434 std::size_t bytes_copied = buffer_copy(target_buffer, source_buffer); in buffer_copy()
1557 mutable_buffer target_buffer = in buffer_copy() local
1563 std::size_t bytes_copied = buffer_copy(target_buffer, source_buffer); in buffer_copy()
1566 if (bytes_copied == buffer_size(target_buffer)) in buffer_copy()
2051 mutable_buffer target_buffer = in buffer_copy() local
[all …]
/external/perfetto/include/perfetto/tracing/core/
Dshared_memory_arbiter.h53 BufferID target_buffer) = 0;
72 BufferID target_buffer) = 0;
Dtracing_service.h69 uint32_t target_buffer) = 0;
106 BufferID target_buffer) = 0;
/external/google-breakpad/src/common/
Dstring_conversion.cc140 scoped_array<UTF8> target_buffer(new UTF8[target_capacity]); in UTF16ToUTF8() local
141 UTF8 *target_ptr = target_buffer.get(); in UTF16ToUTF8()
148 const char *targetPtr = reinterpret_cast<const char *>(target_buffer.get()); in UTF16ToUTF8()
/external/perfetto/src/tracing/ipc/producer/
Dproducer_ipc_client_impl.cc243 uint32_t target_buffer) { in RegisterTraceWriter() argument
252 req.set_target_buffer(target_buffer); in RegisterTraceWriter()
338 BufferID target_buffer) { in CreateTraceWriter() argument
341 return shared_memory_arbiter_->CreateTraceWriter(target_buffer); in CreateTraceWriter()
Dproducer_ipc_client_impl.h67 void RegisterTraceWriter(uint32_t writer_id, uint32_t target_buffer) override;
75 BufferID target_buffer) override;

123