Home
last modified time | relevance | path

Searched refs:slice_ids (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/trace_processor/storage/
Dtrace_storage.h138 const std::deque<uint32_t>& slice_ids() const { return slice_ids_; } in slice_ids() function
154 std::lower_bound(slice_ids().begin(), slice_ids().end(), slice_id); in FindRowForSliceId()
155 if (it != slice_ids().end() && *it == slice_id) { in FindRowForSliceId()
156 return static_cast<uint32_t>(std::distance(slice_ids().begin(), it)); in FindRowForSliceId()
199 const std::deque<uint32_t>& slice_ids() const { return slice_ids_; } in slice_ids() function
215 std::lower_bound(slice_ids().begin(), slice_ids().end(), slice_id); in FindRowForSliceId()
216 if (it != slice_ids().end() && *it == slice_id) { in FindRowForSliceId()
217 return static_cast<uint32_t>(std::distance(slice_ids().begin(), it)); in FindRowForSliceId()
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_parser_unittest.cc817 EXPECT_EQ(storage_->thread_slices().slice_ids()[0], 0u); in TEST_F()
820 EXPECT_EQ(storage_->thread_slices().slice_ids()[1], 1u); in TEST_F()
908 EXPECT_EQ(storage_->thread_slices().slice_ids()[0], 0u); in TEST_F()
911 EXPECT_EQ(storage_->thread_slices().slice_ids()[1], 1u); in TEST_F()
1081 EXPECT_EQ(storage_->thread_slices().slice_ids()[0], 0u); in TEST_F()
1086 EXPECT_EQ(storage_->thread_slices().slice_ids()[1], 1u); in TEST_F()
1091 EXPECT_EQ(storage_->thread_slices().slice_ids()[2], 2u); in TEST_F()
1244 EXPECT_EQ(storage_->virtual_track_slices().slice_ids()[0], 0u); in TEST_F()
1424 EXPECT_EQ(storage_->virtual_track_slices().slice_ids()[0], 0u); in TEST_F()
1433 EXPECT_EQ(storage_->thread_slices().slice_ids()[0], 1u); in TEST_F()
[all …]
Dtrack_event_parser.cc553 thread_slices->slice_ids().back() < opt_slice_id.value()); in ParseThreadBeginEvent()
597 thread_slices->slice_ids().back() < opt_slice_id.value()); in ParseThreadCompleteEvent()
619 thread_slices->slice_ids().back() < opt_slice_id.value()); in ParseThreadInstantEvent()
636 vtrack_slices->slice_ids().back() < opt_slice_id.value()); in ParseAsyncBeginEvent()
669 vtrack_slices->slice_ids().back() < opt_slice_id.value()); in ParseAsyncInstantEvent()