Home
last modified time | relevance | path

Searched refs:CreateCheckpoint (Results 1 – 25 of 26) sorted by relevance

12

/external/perfetto/test/
Dtest_helper.cc73 WrapTask(CreateCheckpoint("producer.connect")), in TestHelper()
74 WrapTask(CreateCheckpoint("producer.setup")), in TestHelper()
75 WrapTask(CreateCheckpoint("producer.enabled"))) {} in TestHelper()
128 on_connect_callback_ = CreateCheckpoint("consumer.connected." + in ConnectConsumer()
134 on_detach_callback_ = CreateCheckpoint("detach." + key); in DetachConsumer()
142 auto checkpoint = CreateCheckpoint("attach." + key); in AttachConsumer()
154 auto checkpoint = CreateCheckpoint("bugreport"); in SaveTraceForBugreportAndWait()
174 auto on_data_written = CreateCheckpoint("startup_data_written"); in ProduceStartupEventBatch()
185 CreateCheckpoint("stop.tracing" + std::to_string(++trace_count_)); in StartTracing()
196 auto checkpoint = CreateCheckpoint(checkpoint_name); in FlushAndWait()
[all …]
Dandroid_test_utils.cc96 const auto checkpoint = task_runner->CreateCheckpoint(checkpoint_name); in WaitForProcess()
124 auto checkpoint = task_runner->CreateCheckpoint(checkpoint_name); in StopApp()
Dend_to_end_benchmark.cc81 auto on_produced_and_committed = task_runner.CreateCheckpoint(cname); in BenchmarkProducer()
167 auto on_produced_and_committed = task_runner.CreateCheckpoint(cname); in BenchmarkConsumer()
187 auto batch_checkpoint = task_runner.CreateCheckpoint(batch_cname); in BenchmarkConsumer()
Dproducer_socket_fuzzer.cc62 data, size, task_runner.CreateCheckpoint("data_sent")); in FuzzSharedMemory()
Dtest_helper.h258 std::function<void()> CreateCheckpoint(const std::string& checkpoint) { in CreateCheckpoint() function
259 return task_runner_->CreateCheckpoint(AddID(checkpoint)); in CreateCheckpoint()
Dend_to_end_shared_memory_fuzzer.cc160 helper.WrapTask(task_runner.CreateCheckpoint("produced.and.committed")); in FuzzSharedMemory()
Dend_to_end_integrationtest.cc851 auto on_data_written = task_runner.CreateCheckpoint("data_written"); in TEST_F()
1311 auto on_data_written = task_runner_.CreateCheckpoint("data_written"); in TEST_F()
1403 auto on_data_written = task_runner_.CreateCheckpoint("data_written_1"); in TEST_F()
1575 auto on_data_written = task_runner_.CreateCheckpoint("data_written_1"); in TEST_F()
/external/perfetto/src/ipc/
Dclient_impl_unittest.cc232 auto on_connect = task_runner_->CreateCheckpoint("on_connect"); in TEST_F()
250 auto on_invoke_reply = task_runner_->CreateCheckpoint("on_invoke_reply"); in TEST_F()
260 auto on_invalid_invoke = task_runner_->CreateCheckpoint("on_invalid_invoke"); in TEST_F()
281 auto on_connect = task_runner_->CreateCheckpoint("on_connect"); in TEST_F()
285 auto on_req_received = task_runner_->CreateCheckpoint("on_req_received"); in TEST_F()
310 auto on_connect = task_runner_->CreateCheckpoint("on_connect"); in TEST_F()
329 auto on_last_reply = task_runner_->CreateCheckpoint("on_last_reply"); in TEST_F()
352 auto on_connect = task_runner_->CreateCheckpoint("on_connect"); in TEST_F()
372 auto on_reply = task_runner_->CreateCheckpoint("on_reply"); in TEST_F()
398 auto on_connect = task_runner_->CreateCheckpoint("on_connect"); in TEST_F()
[all …]
Dhost_impl_unittest.cc178 auto on_connect = task_runner_->CreateCheckpoint("on_connect"); in SetUp()
202 auto on_bind_failure = task_runner_->CreateCheckpoint("on_bind_failure"); in TEST_F()
213 auto on_bind_success = task_runner_->CreateCheckpoint("on_bind_success"); in TEST_F()
226 auto on_bind = task_runner_->CreateCheckpoint("on_bind"); in TEST_F()
231 auto on_invoke_failure = task_runner_->CreateCheckpoint("on_invoke_failure"); in TEST_F()
246 auto on_bind = task_runner_->CreateCheckpoint("on_bind"); in TEST_F()
254 auto on_reply_sent = task_runner_->CreateCheckpoint("on_reply_sent"); in TEST_F()
267 auto on_reply_received = task_runner_->CreateCheckpoint("on_reply_received"); in TEST_F()
284 auto on_bind = task_runner_->CreateCheckpoint("on_bind"); in TEST_F()
303 auto on_reply_received = task_runner_->CreateCheckpoint("on_reply_received"); in TEST_F()
[all …]
/external/perfetto/src/base/
Dunix_socket_unittest.cc93 auto checkpoint = task_runner_.CreateCheckpoint("failure"); in TEST_F()
109 auto srv_did_shutdown = task_runner_.CreateCheckpoint("srv_did_shutdown"); in TEST_F()
118 auto checkpoint = task_runner_.CreateCheckpoint("cli_connected"); in TEST_F()
128 auto cli_disconnected = task_runner_.CreateCheckpoint("cli_disconnected"); in TEST_F()
148 auto cli_connected = task_runner_.CreateCheckpoint("cli_connected"); in TEST_F()
151 auto srv_conn_seen = task_runner_.CreateCheckpoint("srv_conn_seen"); in TEST_F()
152 auto srv_disconnected = task_runner_.CreateCheckpoint("srv_disconnected"); in TEST_F()
167 auto cli_did_recv = task_runner_.CreateCheckpoint("cli_did_recv"); in TEST_F()
174 auto srv_did_recv = task_runner_.CreateCheckpoint("srv_did_recv"); in TEST_F()
186 auto cli_disconnected = task_runner_.CreateCheckpoint("cli_disconnected"); in TEST_F()
[all …]
Dperiodic_task_unittest.cc37 auto quit_closure = task_runner.CreateCheckpoint("all_timers_done"); in TEST()
58 auto quit_closure = task_runner.CreateCheckpoint("quit_closure"); in TEST()
81 auto quit_closure = task_runner.CreateCheckpoint("all_timers_done"); in TEST()
111 auto quit_closure = task_runner.CreateCheckpoint("quit_closure"); in TEST()
131 auto quit_closure = task_runner.CreateCheckpoint("quit_closure"); in TEST()
155 auto quit_closure = task_runner.CreateCheckpoint("quit_closure"); in TEST()
Dmetatrace_unittest.cc140 auto checkpoint = task_runner_.CreateCheckpoint(checkpoint_name); in TEST_F()
194 auto writer_done = task_runner_.CreateCheckpoint("writer_done"); in TEST_F()
229 auto checkpoint = task_runner_.CreateCheckpoint(checkpoint_name); in TEST_F()
/external/perfetto/src/tracing/test/
Dtracing_integration_test.cc134 task_runner_->CreateCheckpoint("on_producer_connect"); in SetUp()
147 task_runner_->CreateCheckpoint("on_consumer_connect"); in SetUp()
160 task_runner_->CreateCheckpoint("on_producer_disconnect"); in TearDown()
165 task_runner_->CreateCheckpoint("on_consumer_disconnect"); in TearDown()
189 auto writers_changed = task_runner_->CreateCheckpoint(checkpoint_name); in WaitForTraceWritersChanged()
236 task_runner_->CreateCheckpoint("on_create_ds_instance"); in TEST_F()
283 auto on_data_committed = task_runner_->CreateCheckpoint("on_data_committed"); in TEST_F()
293 auto all_packets_rx = task_runner_->CreateCheckpoint("all_packets_rx"); in TEST_F()
340 task_runner_->CreateCheckpoint("on_tracing_disabled"); in TEST_F()
357 task_runner_->CreateCheckpoint("on_create_ds_instance"); in TEST_F()
[all …]
Dmock_consumer.cc36 auto on_disconnect = task_runner_->CreateCheckpoint(checkpoint_name); in ~MockConsumer()
46 auto on_connect = task_runner_->CreateCheckpoint(checkpoint_name); in Connect()
75 auto on_tracing_disabled = task_runner_->CreateCheckpoint(checkpoint_name); in WaitForTracingDisabled()
84 auto on_flush = task_runner_->CreateCheckpoint(checkpoint_name); in Flush()
105 auto on_read_buffers = task_runner_->CreateCheckpoint(checkpoint_name); in ReadBuffers()
131 auto on_trace_stats = task_runner_->CreateCheckpoint(checkpoint_name); in WaitForTraceStats()
155 auto on_observable_events = task_runner_->CreateCheckpoint(checkpoint_name); in WaitForObservableEvents()
170 auto checkpoint = task_runner_->CreateCheckpoint(checkpoint_name); in QueryServiceState()
Dmock_producer.cc41 auto on_disconnect = task_runner_->CreateCheckpoint(checkpoint_name); in ~MockProducer()
59 auto on_connect = task_runner_->CreateCheckpoint(checkpoint_name); in Connect()
93 auto on_tracing_enabled = task_runner_->CreateCheckpoint(checkpoint_name); in WaitForTracingSetup()
101 auto on_ds_start = task_runner_->CreateCheckpoint(checkpoint_name); in WaitForDataSourceSetup()
120 auto on_ds_start = task_runner_->CreateCheckpoint(checkpoint_name); in WaitForDataSourceStart()
142 auto on_ds_stop = task_runner_->CreateCheckpoint(checkpoint_name); in WaitForDataSourceStop()
/external/perfetto/src/traced/service/
Dbuiltin_producer_unittest.cc50 auto done = task_runner.CreateCheckpoint("done"); in TEST()
69 auto done = task_runner.CreateCheckpoint("done"); in TEST()
88 auto done = task_runner.CreateCheckpoint("done"); in TEST()
110 auto done = task_runner.CreateCheckpoint("done"); in TEST()
/external/perfetto/src/ipc/test/
Dipc_integrationtest.cc82 auto on_connect = task_runner_.CreateCheckpoint("on_connect"); in TEST_F()
93 auto on_reply = task_runner_.CreateCheckpoint("on_hello_reply"); in TEST_F()
116 auto on_reply = task_runner_.CreateCheckpoint("on_goodbye_reply"); in TEST_F()
/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl_unittest.cc111 auto on_commit_1 = task_runner_->CreateCheckpoint("on_commit_1"); in TEST_P()
136 auto on_commit_2 = task_runner_->CreateCheckpoint("on_commit_2"); in TEST_P()
264 auto checkpoint = task_runner_->CreateCheckpoint("last_unregistered"); in TEST_P()
345 auto checkpoint_writer = task_runner_->CreateCheckpoint("writer_registered"); in TEST_P()
346 auto checkpoint_flush = task_runner_->CreateCheckpoint("flush_completed"); in TEST_P()
426 task_runner_->CreateCheckpoint("writer1b_registered"); in TEST_P()
474 task_runner_->CreateCheckpoint("writer_unregistered"); in TEST_P()
628 task_runner_->CreateCheckpoint("writer_unregistered"); in TEST_P()
Dtracing_service_impl_unittest.cc165 auto timer_expired = task_runner.CreateCheckpoint(checkpoint_name); in WaitForNextSyncMarker()
175 auto writers_changed = task_runner.CreateCheckpoint(checkpoint_name); in WaitForTraceWritersChanged()
716 auto on_tracing_disabled = task_runner.CreateCheckpoint(checkpoint_name); in TEST_F()
1990 auto checkpoint = task_runner.CreateCheckpoint("all_flushes_done"); in TEST_F()
2073 task_runner.CreateCheckpoint("clears_received"); in TEST_F()
3175 task_runner.CreateCheckpoint("data_source_started"))); in TEST_F()
3188 task_runner.CreateCheckpoint("data_source_stopped"))); in TEST_F()
3607 auto on_fail = task_runner.CreateCheckpoint("uid_" + std::to_string(i)); in TEST_F()
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner_unittest.cc123 task_runner.CreateCheckpoint("done")); in TEST()
175 task_runner.CreateCheckpoint("done")); in TEST()
Dinode_file_data_source_unittest.cc102 auto done = task_runner_.CreateCheckpoint("done"); in TEST_F()
/external/perfetto/src/base/test/
Dtest_task_runner.h41 std::function<void()> CreateCheckpoint(const std::string& checkpoint);
Dtest_task_runner.cc76 std::function<void()> TestTaskRunner::CreateCheckpoint( in CreateCheckpoint() function in perfetto::base::TestTaskRunner
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source_unittest.cc340 auto checkpoint = task_runner_.CreateCheckpoint("all_done"); in TEST_F()
417 auto checkpoint = task_runner_.CreateCheckpoint("all_done"); in TEST_F()
503 auto checkpoint = task_runner_.CreateCheckpoint("all_done"); in TEST_F()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source_unittest.cc84 auto on_flush = task_runner_.CreateCheckpoint("on_flush"); in StartAndSimulateLogd()

12