Home
last modified time | relevance | path

Searched refs:TrackId (Results 1 – 25 of 51) sorted by relevance

123

/external/perfetto/src/trace_processor/importers/common/
Dtrack_tracker.h32 TrackId InternThreadTrack(UniqueTid utid);
35 TrackId InternProcessTrack(UniquePid upid);
38 TrackId InternFuchsiaAsyncTrack(StringId name,
43 TrackId InternCpuTrack(StringId name, uint32_t cpu);
46 TrackId InternGpuTrack(const tables::GpuTrackTable::Row& row);
49 TrackId InternLegacyChromeAsyncTrack(StringId name,
56 TrackId CreateGlobalAsyncTrack(StringId name);
59 TrackId CreateAndroidAsyncTrack(StringId name, UniquePid upid);
62 TrackId CreateFrameTimelineAsyncTrack(StringId name, UniquePid upid);
66 TrackId InternLegacyChromeProcessInstantTrack(UniquePid upid);
[all …]
Dtrack_tracker.cc37 TrackId TrackTracker::InternThreadTrack(UniqueTid utid) { in InternThreadTrack()
49 TrackId TrackTracker::InternProcessTrack(UniquePid upid) { in InternProcessTrack()
61 TrackId TrackTracker::InternFuchsiaAsyncTrack(StringId name, in InternFuchsiaAsyncTrack()
68 TrackId TrackTracker::InternCpuTrack(StringId name, uint32_t cpu) { in InternCpuTrack()
81 TrackId TrackTracker::InternGpuTrack(const tables::GpuTrackTable::Row& row) { in InternGpuTrack()
93 TrackId TrackTracker::InternLegacyChromeAsyncTrack( in InternLegacyChromeAsyncTrack()
122 TrackId id = in InternLegacyChromeAsyncTrack()
136 TrackId TrackTracker::CreateGlobalAsyncTrack(StringId name) { in CreateGlobalAsyncTrack()
142 TrackId TrackTracker::CreateAndroidAsyncTrack(StringId name, UniquePid upid) { in CreateAndroidAsyncTrack()
151 TrackId TrackTracker::CreateFrameTimelineAsyncTrack(StringId name, in CreateFrameTimelineAsyncTrack()
[all …]
Dslice_tracker.h34 using OnSliceBeginCallback = std::function<void(TrackId, SliceId)>;
42 TrackId track_id,
70 TrackId track_id,
89 TrackId track_id,
97 base::Optional<uint32_t> AddArgs(TrackId track_id,
106 base::Optional<SliceId> GetTopmostSliceOnTrack(TrackId track_id) const;
127 using StackMap = std::unordered_map<TrackId, TrackInfo>;
131 TrackId track_id,
137 TrackId track_id,
141 void MaybeCloseStack(int64_t end_ts, SlicesStack*, TrackId track_id);
[all …]
Dflow_tracker_unittest.cc38 [&tracker](TrackId track_id, SliceId slice_id) { in TEST()
43 TrackId track_1(1); in TEST()
44 TrackId track_2(2); in TEST()
70 [&tracker](TrackId track_id, SliceId slice_id) { in TEST()
75 TrackId track_1(1); in TEST()
76 TrackId track_2(2); in TEST()
106 [&tracker](TrackId track_id, SliceId slice_id) { in TEST()
111 TrackId track_1(1); in TEST()
112 TrackId track_2(2); in TEST()
141 [&tracker](TrackId track_id, SliceId slice_id) { in TEST()
[all …]
Dslice_tracker_unittest.cc58 constexpr TrackId track{22u}; in TEST()
80 constexpr TrackId track{22u}; in TEST()
103 constexpr TrackId track{22u}; in TEST()
145 constexpr TrackId track{22u}; in TEST()
182 constexpr TrackId track{22u}; in TEST()
199 constexpr TrackId track{22u}; in TEST()
218 constexpr TrackId track{22u}; in TEST()
240 constexpr TrackId track{22u}; in TEST()
260 constexpr TrackId track_a{22u}; in TEST()
261 constexpr TrackId track_b{23u}; in TEST()
[all …]
Dflow_tracker.h40 virtual void Begin(TrackId track_id, FlowId flow_id);
41 virtual void Step(TrackId track_id, FlowId flow_id);
49 virtual void End(TrackId track_id,
58 void ClosePendingEventsOnTrack(TrackId track_id, SliceId slice_id);
82 using PendingFlowsMap = std::unordered_map<TrackId, std::vector<FlowId>>;
Dslice_tracker.cc40 TrackId track_id, in Begin()
73 TrackId track_id, in Scoped()
87 TrackId track_id, in End()
97 base::Optional<uint32_t> SliceTracker::AddArgs(TrackId track_id, in AddArgs()
125 TrackId track_id, in StartSlice()
187 TrackId track_id, in CompleteSlice()
283 TrackId track_id) const { in GetTopmostSliceOnTrack()
296 TrackId track_id) { in MaybeCloseStack()
373 void SliceTracker::StackPop(TrackId track_id) { in StackPop()
377 void SliceTracker::StackPush(TrackId track_id, uint32_t slice_idx) { in StackPush()
Dflow_tracker.cc42 void FlowTracker::Begin(TrackId track_id, FlowId flow_id) { in Begin()
56 void FlowTracker::Step(TrackId track_id, FlowId flow_id) { in Step()
72 void FlowTracker::End(TrackId track_id, in End()
115 void FlowTracker::ClosePendingEventsOnTrack(TrackId track_id, in ClosePendingEventsOnTrack()
Devent_tracker.cc56 TrackId track_id) { in PushCounter()
73 TrackId track_id, in PushCounter()
114 TrackId id = context_->track_tracker->InternProcessCounterTrack( in FlushPendingEvents()
/external/perfetto/src/trace_processor/importers/proto/
Dasync_track_set_tracker_unittest.cc108 TrackId a = tracker_->Scoped(unnestable_id_, 100, 10); in TEST_F()
109 TrackId b = tracker_->Scoped(unnestable_id_, 105, 2); in TEST_F()
110 TrackId c = tracker_->Scoped(unnestable_id_, 107, 3); in TEST_F()
111 TrackId d = tracker_->Scoped(unnestable_id_, 110, 5); in TEST_F()
119 TrackId a = tracker_->Scoped(unnestable_id_, 100, 10); in TEST_F()
121 TrackId begin = tracker_->Begin(unnestable_id_, 777); in TEST_F()
122 TrackId end = tracker_->End(unnestable_id_, 777); in TEST_F()
124 TrackId b = tracker_->Scoped(unnestable_id_, 105, 2); in TEST_F()
132 TrackId b1 = tracker_->Begin(unnestable_id_, 666); in TEST_F()
133 TrackId b2 = tracker_->Begin(legacy_unnestable_id_, 777); in TEST_F()
[all …]
Dgraphics_frame_event_parser.h54 TrackId track_id,
76 std::unordered_map<StringId, TrackId> dequeue_map_;
77 std::unordered_map<StringId, TrackId> queue_map_;
78 std::unordered_map<StringId, TrackId> latch_map_;
80 std::unordered_map<StringId, TrackId> display_map_;
Dtrack_event_tracker.h105 base::Optional<TrackId> GetDescriptorTrack(
122 TrackId GetOrCreateDefaultDescriptorTrack();
197 base::Optional<TrackId> GetDescriptorTrackImpl(uint64_t uuid);
198 TrackId CreateTrackFromResolved(const ResolvedDescriptorTrack&);
209 std::map<UniqueTid, TrackId> thread_tracks_;
210 std::map<UniquePid, TrackId> process_tracks_;
216 std::map<uint64_t /* uuid */, TrackId> descriptor_tracks_;
Dperf_sample_tracker.h39 TrackId timebase_track_id = kInvalidTrackId;
41 SamplingStreamInfo(uint32_t _perf_session_id, TrackId _timebase_track_id) in SamplingStreamInfo()
56 TrackId timebase_track_id = kInvalidTrackId;
58 CpuSequenceState(TrackId _timebase_track_id) in CpuSequenceState()
Dasync_track_set_tracker.h72 TrackId Begin(TrackSetId id, int64_t cookie);
79 TrackId End(TrackSetId id, int64_t cookie);
86 TrackId Scoped(TrackSetId id, int64_t ts, int64_t dur);
135 TrackId id;
182 TrackId CreateTrackForSet(const TrackSet& set);
Dandroid_probes_parser.cc59 TrackId track = in ParseBatteryCounters()
65 TrackId track = in ParseBatteryCounters()
71 TrackId track = in ParseBatteryCounters()
77 TrackId track = in ParseBatteryCounters()
106 TrackId track = in ParsePowerRails()
239 TrackId track = in ParseInitialDisplayState()
Dsystem_probes_parser.cc116 TrackId track = context_->track_tracker->InternGlobalCounterTrack( in ParseSysStats()
131 TrackId track = context_->track_tracker->InternGlobalCounterTrack(name); in ParseSysStats()
144 TrackId track = in ParseSysStats()
158 TrackId track = context_->track_tracker->InternCpuCounterTrack( in ParseSysStats()
197 TrackId track = context_->track_tracker->InternIrqCounterTrack( in ParseSysStats()
206 TrackId track = context_->track_tracker->InternSoftirqCounterTrack( in ParseSysStats()
213 TrackId track = in ParseSysStats()
220 TrackId track = context_->track_tracker->InternGlobalCounterTrack( in ParseSysStats()
227 TrackId track = context_->track_tracker->InternGlobalCounterTrack( in ParseSysStats()
347 TrackId track = in ParseProcessStats()
[all …]
Dproto_trace_parser_unittest.cc142 TrackId track_id));
195 TrackId track_id,
201 TrackId track_id,
207 TrackId track_id,
214 TrackId track_id,
223 MOCK_METHOD2(Begin, void(TrackId track_id, FlowId flow_id));
224 MOCK_METHOD2(Step, void(TrackId track_id, FlowId flow_id));
226 void(TrackId track_id,
582 EXPECT_CALL(*event_, PushCounter(1000, DoubleEq(2000), TrackId{0})); in TEST_F()
599 DoubleEq(value * 1024.0), TrackId{0u})); in TEST_F()
[all …]
Dasync_track_set_tracker.cc87 TrackId AsyncTrackSetTracker::Begin(TrackSetId id, int64_t cookie) { in Begin()
105 TrackId AsyncTrackSetTracker::End(TrackSetId id, int64_t cookie) { in End()
123 TrackId AsyncTrackSetTracker::Scoped(TrackSetId id, int64_t ts, int64_t dur) { in Scoped()
178 TrackId AsyncTrackSetTracker::CreateTrackForSet(const TrackSet& set) { in CreateTrackForSet()
/external/perfetto/src/trace_processor/importers/json/
Djson_trace_parser.cc130 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
136 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
145 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
152 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
165 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
178 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
219 void JsonTraceParser::MaybeAddFlow(TrackId track_id, const Json::Value& event) { in MaybeAddFlow()
/external/perfetto/src/trace_processor/importers/syscalls/
Dsyscall_tracker_unittest.cc38 TrackId track_id,
44 TrackId track_id,
67 constexpr TrackId track{0u}; in TEST_F()
93 constexpr TrackId track{0u}; in TEST_F()
110 constexpr TrackId track{0u}; in TEST_F()
/external/perfetto/src/trace_processor/dynamic/
Dexperimental_counter_dur_generator.cc74 std::unordered_map<TrackId, uint32_t> last_row_for_track_id; in ComputeDurColumn()
85 TrackId track_id = (*track_id_col)[i]; in ComputeDurColumn()
109 std::unordered_map<TrackId, uint32_t> last_row_for_track_id; in ComputeDeltaColumn()
120 TrackId track_id = (*track_id_col)[i]; in ComputeDeltaColumn()
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_parser.cc139 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseSystracePoint()
159 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseSystracePoint()
199 TrackId track_id = in ParseSystracePoint()
224 TrackId track = in ParseSystracePoint()
231 TrackId track_id; in ParseSystracePoint()
Dsystrace_line_parser.cc126 TrackId track = context_->track_tracker->InternCpuCounterTrack( in ParseLine()
191 TrackId track = in ParseLine()
198 TrackId track = context_->track_tracker->InternThreadTrack(utid); in ParseLine()
201 TrackId track = context_->track_tracker->InternThreadTrack(utid); in ParseLine()
207 TrackId track = in ParseLine()
218 TrackId track = in ParseLine()
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_trace_parser.cc324 TrackId track = context_->track_tracker->InternThreadCounterTrack( in ParseTracePacket()
335 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
343 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
364 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
376 TrackId track_id = context_->track_tracker->InternFuchsiaAsyncTrack( in ParseTracePacket()
392 TrackId track_id = context_->track_tracker->InternFuchsiaAsyncTrack( in ParseTracePacket()
413 TrackId track_id = context_->track_tracker->InternFuchsiaAsyncTrack( in ParseTracePacket()
427 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
440 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
453 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in ParseTracePacket()
/external/perfetto/src/trace_processor/importers/ftrace/
Dbinder_tracker.cc94 TrackId track_id = context_->track_tracker->InternThreadTrack(src_utid); in Transaction()
153 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in TransactionReceived()
204 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in Lock()
215 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in Locked()
230 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in Unlock()
241 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in TransactionAllocBuf()

123