Home
last modified time | relevance | path

Searched refs:SliceId (Results 1 – 23 of 23) sorted by relevance

/external/perfetto/src/trace_processor/importers/common/
Dflow_tracker_unittest.cc38 [&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 …]
Dflow_tracker.cc43 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()
Dslice_tracker.h34 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(
Dflow_tracker.h36 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);
Dslice_tracker.cc39 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()
Dslice_tracker_unittest.cc207 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()
Dargs_tracker.h108 BoundInserter AddArgsTo(SliceId id) { in AddArgsTo()
/external/perfetto/src/trace_processor/dynamic/
Dconnected_flow_generator.cc88 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()
Ddescendant_slice_generator.cc61 auto descendants = GetDescendantSlices(slice, SliceId(start_id)); in ComputeTable()
98 SliceId start_id) { in GetDescendantSlices()
Dancestor_generator.cc115 SliceId(start_id)); in ComputeTable()
157 SliceId slice_id) { in GetAncestorSlices()
Ddescendant_slice_generator.h50 SliceId start_id);
Dancestor_generator.h53 SliceId slice_id);
Ddescribe_slice_generator.cc78 auto status = DescribeSlice(slices, SliceId{input.slice_id_value}, &opt_desc); in ComputeTable()
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_parser_unittest.cc194 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 …]
Dframe_timeline_event_parser.h100 std::multimap<int64_t, SliceId> display_token_to_surface_slice_;
Dgraphics_frame_event_parser.h65 std::unordered_map<StringId, SliceId> dequeue_slice_ids_;
Dframe_timeline_event_parser.cc294 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()
Dgraphics_frame_event_parser.cc157 base::Optional<SliceId> opt_slice_id = in CreateBufferEvent()
/external/perfetto/src/trace_processor/importers/syscalls/
Dsyscall_tracker_unittest.cc37 base::Optional<SliceId>(int64_t timestamp,
43 base::Optional<SliceId>(int64_t timestamp,
/external/perfetto/src/trace_processor/storage/
Dtrace_storage.h72 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/
Dtrace_processor_storage_impl.cc76 [this](TrackId track_id, SliceId slice_id) { in TraceProcessorStorageImpl()
Dexport_json.cc840 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()
Dexport_json_unittest.cc135 {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()