/external/perfetto/src/trace_processor/importers/common/ |
D | flow_tracker_unittest.cc | 38 [&tracker](TrackId track_id, SliceId slice_id) { in TEST() 47 SliceId out_slice_id = slice_tracker->GetTopmostSliceOnTrack(track_1).value(); in TEST() 52 SliceId in_slice_id = slice_tracker->GetTopmostSliceOnTrack(track_2).value(); in TEST() 70 [&tracker](TrackId track_id, SliceId slice_id) { in TEST() 79 SliceId out_slice_id = slice_tracker->GetTopmostSliceOnTrack(track_1).value(); in TEST() 91 SliceId in_slice_id = slice_tracker->GetTopmostSliceOnTrack(track_2).value(); in TEST() 106 [&tracker](TrackId track_id, SliceId slice_id) { in TEST() 115 SliceId out_slice_id = slice_tracker->GetTopmostSliceOnTrack(track_1).value(); in TEST() 127 SliceId in_slice_id = slice_tracker->GetTopmostSliceOnTrack(track_2).value(); in TEST() 141 [&tracker](TrackId track_id, SliceId slice_id) { in TEST() [all …]
|
D | flow_tracker.cc | 43 base::Optional<SliceId> open_slice_id = in Begin() 57 base::Optional<SliceId> open_slice_id = in Step() 67 SliceId slice_out_id = flow_to_slice_map_[flow_id]; in Step() 80 base::Optional<SliceId> open_slice_id = in End() 90 SliceId slice_out_id = flow_to_slice_map_[flow_id]; in End() 116 SliceId slice_id) { in ClosePendingEventsOnTrack() 122 SliceId slice_out_id = flow_to_slice_map_[flow_id]; in ClosePendingEventsOnTrack() 130 SliceId slice_out_id, in InsertFlow() 131 SliceId slice_in_id) { in InsertFlow() 146 void FlowTracker::InsertFlow(SliceId slice_out_id, SliceId slice_in_id) { in InsertFlow()
|
D | slice_tracker.h | 34 using OnSliceBeginCallback = std::function<void(TrackId, SliceId)>; 40 virtual base::Optional<SliceId> Begin( 57 base::Optional<SliceId> BeginTyped( 68 virtual base::Optional<SliceId> Scoped( 77 base::Optional<SliceId> ScopedTyped( 87 virtual base::Optional<SliceId> End( 106 base::Optional<SliceId> GetTopmostSliceOnTrack(TrackId track_id) const; 130 virtual base::Optional<SliceId> StartSlice(int64_t timestamp, 133 std::function<SliceId()> inserter); 135 base::Optional<SliceId> CompleteSlice(
|
D | flow_tracker.h | 36 void InsertFlow(SliceId slice_out_id, SliceId slice_in_id); 58 void ClosePendingEventsOnTrack(TrackId track_id, SliceId slice_id); 81 using FlowToSourceSliceMap = std::unordered_map<FlowId, SliceId>; 88 SliceId outgoing_slice_id, 89 SliceId incoming_slice_id);
|
D | slice_tracker.cc | 39 base::Optional<SliceId> SliceTracker::Begin(int64_t timestamp, in Begin() 72 base::Optional<SliceId> SliceTracker::Scoped(int64_t timestamp, in Scoped() 86 base::Optional<SliceId> SliceTracker::End(int64_t timestamp, in End() 123 base::Optional<SliceId> SliceTracker::StartSlice( in StartSlice() 127 std::function<SliceId()> inserter) { in StartSlice() 165 SliceId id = inserter(); in StartSlice() 185 base::Optional<SliceId> SliceTracker::CompleteSlice( in CompleteSlice() 282 base::Optional<SliceId> SliceTracker::GetTopmostSliceOnTrack( in GetTopmostSliceOnTrack()
|
D | slice_tracker_unittest.cc | 207 SliceId parent = context.storage->slice_table().id()[0]; in TEST() 208 SliceId child = context.storage->slice_table().id()[1]; in TEST() 341 SliceId slice1 = context.storage->slice_table().id()[0]; in TEST() 346 SliceId slice2 = context.storage->slice_table().id()[1]; in TEST() 370 std::vector<SliceId> slice_records; in TEST() 371 tracker.SetOnSliceBeginCallback([&](TrackId track_id, SliceId slice_id) { in TEST() 380 SliceId slice1 = context.storage->slice_table().id()[0]; in TEST() 385 SliceId slice2 = context.storage->slice_table().id()[1]; in TEST() 390 SliceId slice3 = context.storage->slice_table().id()[2]; in TEST()
|
D | args_tracker.h | 108 BoundInserter AddArgsTo(SliceId id) { in AddArgsTo()
|
/external/perfetto/src/trace_processor/dynamic/ |
D | connected_flow_generator.cc | 88 BFS& Start(SliceId start_id) { in Start() 97 SliceId slice_id = slices_to_visit_.front().first; in VisitAll() 121 BFS& GoToRelatives(SliceId slice_id, RelativesVisitMode visit_relatives) { in GoToRelatives() 150 void GoByFlow(SliceId slice_id, FlowDirection flow_direction) { in GoByFlow() 155 const TypedColumn<SliceId>& start_col = in GoByFlow() 158 const TypedColumn<SliceId>& end_col = in GoByFlow() 166 SliceId next_slice_id = end_col[row_it.row()]; in GoByFlow() 190 std::queue<std::pair<SliceId, VisitType>> slices_to_visit_; 191 std::set<SliceId> known_slices_; 211 SliceId start_id{static_cast<uint32_t>(it->value.AsLong())}; in ComputeTable()
|
D | descendant_slice_generator.cc | 61 auto descendants = GetDescendantSlices(slice, SliceId(start_id)); in ComputeTable() 98 SliceId start_id) { in GetDescendantSlices()
|
D | ancestor_generator.cc | 115 SliceId(start_id)); in ComputeTable() 157 SliceId slice_id) { in GetAncestorSlices()
|
D | descendant_slice_generator.h | 50 SliceId start_id);
|
D | ancestor_generator.h | 53 SliceId slice_id);
|
D | describe_slice_generator.cc | 78 auto status = DescribeSlice(slices, SliceId{input.slice_id_value}, &opt_desc); in ComputeTable()
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | proto_trace_parser_unittest.cc | 194 base::Optional<SliceId>(int64_t timestamp, 200 base::Optional<SliceId>(int64_t timestamp, 206 base::Optional<SliceId>(int64_t timestamp, 213 base::Optional<SliceId>(int64_t timestamp, 216 std::function<SliceId()> inserter)); 838 InvokeArgument<2>(&inserter), Return(SliceId(0u)))); in TEST_F() 843 InvokeArgument<2>(&inserter), Return(SliceId(1u)))); in TEST_F() 847 .WillOnce(DoAll(InvokeArgument<4>(&inserter), Return(SliceId(1u)))); in TEST_F() 852 auto id_0 = storage_->thread_slice_table().id().IndexOf(SliceId(0u)); in TEST_F() 856 auto id_1 = storage_->thread_slice_table().id().IndexOf(SliceId(1u)); in TEST_F() [all …]
|
D | frame_timeline_event_parser.h | 100 std::multimap<int64_t, SliceId> display_token_to_surface_slice_;
|
D | graphics_frame_event_parser.h | 65 std::unordered_map<StringId, SliceId> dequeue_slice_ids_;
|
D | frame_timeline_event_parser.cc | 294 base::Optional<SliceId> opt_slice_id = in ParseActualDisplayFrameStart() 319 SliceId display_slice = *opt_slice_id; // SurfaceFlinger in ParseActualDisplayFrameStart() 320 SliceId surface_slice = it->second; // App in ParseActualDisplayFrameStart() 501 base::Optional<SliceId> opt_slice_id = in ParseActualSurfaceFrameStart()
|
D | graphics_frame_event_parser.cc | 157 base::Optional<SliceId> opt_slice_id = in CreateBufferEvent()
|
/external/perfetto/src/trace_processor/importers/syscalls/ |
D | syscall_tracker_unittest.cc | 37 base::Optional<SliceId>(int64_t timestamp, 43 base::Optional<SliceId>(int64_t timestamp,
|
/external/perfetto/src/trace_processor/storage/ |
D | trace_storage.h | 72 using SliceId = tables::SliceTable::Id; variable 128 inline uint32_t AddVirtualTrackSlice(SliceId slice_id, in AddVirtualTrackSlice() 145 const std::deque<SliceId>& slice_ids() const { return slice_ids_; } in slice_ids() 159 base::Optional<uint32_t> FindRowForSliceId(SliceId slice_id) const { in FindRowForSliceId() 168 void UpdateThreadDeltasForSliceId(SliceId slice_id, in UpdateThreadDeltasForSliceId() 183 std::deque<SliceId> slice_ids_;
|
/external/perfetto/src/trace_processor/ |
D | trace_processor_storage_impl.cc | 76 [this](TrackId track_id, SliceId slice_id) { in TraceProcessorStorageImpl()
|
D | export_json.cc | 840 SliceId id = slices.id()[i]; in ExportSlices() 1057 SliceId slice_id, in CreateFlowEventV1() 1097 SliceId slice_out = flow_table.slice_out()[i]; in ExportFlows() 1098 SliceId slice_in = flow_table.slice_in()[i]; in ExportFlows()
|
D | export_json_unittest.cc | 135 {kTimestamp, kDuration, track, cat_id, name_id, 0, 0, 0, SliceId(0u), 0, in TEST_F() 180 {kTimestamp, kDuration, track, cat_id, name_id, 0, 0, 0, SliceId(0u), 0, in TEST_F() 469 SliceId id1 = storage->mutable_slice_table() in TEST_F() 472 SliceId id2 = storage->mutable_slice_table() in TEST_F()
|