Home
last modified time | relevance | path

Searched refs:track_table (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/src/trace_processor/importers/proto/
Dperf_sample_tracker_unittest.cc83 const auto& track_table = context.storage->perf_counter_track_table(); in TEST_F() local
84 auto row_id = track_table.id().IndexOf(track_id); in TEST_F()
88 EXPECT_EQ(track_table.perf_session_id()[*row_id], stream.perf_session_id); in TEST_F()
89 EXPECT_EQ(track_table.cpu()[*row_id], cpu0); in TEST_F()
90 EXPECT_TRUE(track_table.is_timebase()[*row_id]); in TEST_F()
94 context.storage->GetString(track_table.name()[*row_id]).ToStdString(); in TEST_F()
114 const auto& track_table = context.storage->perf_counter_track_table(); in TEST_F() local
115 auto row_id = track_table.id().IndexOf(track_id); in TEST_F()
119 EXPECT_EQ(track_table.perf_session_id()[*row_id], stream.perf_session_id); in TEST_F()
120 EXPECT_EQ(track_table.cpu()[*row_id], cpu0); in TEST_F()
[all …]
Dproto_trace_parser_unittest.cc602 EXPECT_EQ(context_.storage->track_table().row_count(), 1u); in TEST_F()
619 EXPECT_EQ(context_.storage->track_table().row_count(), 1u); in TEST_F()
1315 EXPECT_EQ(storage_->track_table().row_count(), 6u); in TEST_F()
1316 EXPECT_EQ(storage_->track_table().name()[1], ev_1); in TEST_F()
1317 EXPECT_EQ(storage_->track_table().name()[4], ev_2); in TEST_F()
1318 EXPECT_EQ(storage_->track_table().name()[5], ev_2); in TEST_F()
1505 EXPECT_EQ(storage_->track_table().row_count(), 5u); in TEST_F()
1506 EXPECT_EQ(storage_->track_table().name().GetString(0), "Thread track 1"); in TEST_F()
1507 EXPECT_EQ(storage_->track_table().name().GetString(1), "Async track 1"); in TEST_F()
1508 EXPECT_EQ(storage_->track_table().name().GetString(2), "Thread track 2"); in TEST_F()
[all …]
/external/perfetto/src/trace_processor/
Dexport_json.cc815 const auto& track_table = storage_->track_table(); in ExportSlices() local
817 uint32_t track_row = *track_table.id().IndexOf(track_id); in ExportSlices()
818 auto track_args_id = track_table.source_arg_set_id()[track_row]; in ExportSlices()
Dtrace_processor_impl.cc785 RegisterDbTable(storage->track_table()); in TraceProcessorImpl()
/external/perfetto/src/trace_processor/storage/
Dtrace_storage.h310 const tables::TrackTable& track_table() const { return track_table_; } in track_table() function