Home
last modified time | relevance | path

Searched refs:utid (Results 1 – 25 of 246) sorted by relevance

12345678910

/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/stdlib/sched/
H A Dthread_executing_span.sql46 thread_state.utid, field
64 GROUP BY utid
71 thread_state.utid,
93 thread_state.utid field
104 utid field
107 GROUP BY utid;
118 s.utid field
121 ON s.utid = r.utid AND (s.ts + s.dur = r.ts)
122 GROUP BY s.utid;
160 r.utid AS utid,
[all …]
H A Dthread_executing_span_with_slice.sql94 id_graph.utid, field
95 root_id_graph.utid AS root_utid
103 SELECT id AS thread_state_id, ts, dur, utid, state, blocked_function AS function, io_wait, cpu
115 utid
122 _span_thread_state_view PARTITIONED utid,
123 _span_slice_view PARTITIONED utid);
132 utid, field
150 FROM _interval_intersect!((_critical_path_all, _span_thread_state_slice), (utid));
157 cr.utid, field
176 SPAN_LEFT_JOIN(thread_state PARTITIONED utid, _slice_flattened PARTITIONED utid);
[all …]
H A Dtime_in_state.sql21 utid JOINID(thread.id), field
33 utid,
40 utid,
46 utid,
51 FROM summed JOIN total_dur USING (utid);
62 utid JOINID(thread.id), field
82 utid, field
93 GROUP BY utid;
109 utid JOINID(thread.id)
144 WHERE utid = $utid AND dur > 0
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/stdlib/export/
H A Dto_firefox_profile.sql103 s.utid,
108 (SELECT DISTINCT callsite_id, utid FROM perf_sample) s,
113 child.utid,
125 c.utid,
138 utid,
145 OVER (PARTITION BY utid ORDER BY id, inline_depth) - 1 AS stack_table_index,
147 OVER (PARTITION BY utid ORDER BY frame_id, inline_depth) - 1
149 DENSE_RANK() OVER (PARTITION BY utid ORDER BY name) - 1 AS func_table_index,
150 DENSE_RANK() OVER (PARTITION BY utid ORDER BY name) - 1 AS string_table_index
152 ORDER BY utid, id;
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/importers/common/
H A Dthread_state_tracker.cc60 UniqueTid utid, in PushWakingEvent() argument
65 if (!HasPreviousRowNumbersForUtid(utid)) { in PushWakingEvent()
66 AddOpenState(event_ts, utid, runnable_string_id_, std::nullopt, waker_utid, in PushWakingEvent()
71 auto last_row_ref = RowNumToRef(prev_row_numbers_for_thread_[utid]->last_row); in PushWakingEvent()
87 {event_ts, prev_row_numbers_for_thread_[utid]->last_row.row_number(), in PushWakingEvent()
88 irq_context, utid, waker_utid}); in PushWakingEvent()
93 ClosePendingState(event_ts, utid, false); in PushWakingEvent()
94 AddOpenState(event_ts, utid, runnable_string_id_, std::nullopt, waker_utid, in PushWakingEvent()
99 UniqueTid utid, in PushNewTaskEvent() argument
102 AddOpenState(event_ts, utid, runnable_string_id_, /*cpu=*/std::nullopt, in PushNewTaskEvent()
[all …]
H A Dprocess_tracker.cc59 auto utid = context_->storage->mutable_thread_table()->Insert(thread_row).row; in ProcessTracker() local
62 swapper_utid_ = utid; in ProcessTracker()
108 UniqueTid utid = *opt_utid; in EndThread() local
110 auto td = thread_table[utid]; in EndThread()
116 vector.erase(std::remove(vector.begin(), vector.end(), utid), vector.end()); in EndThread()
140 UniqueTid utid = *opt_utid; in GetThreadOrNull() local
141 auto rr = threads[utid]; in GetThreadOrNull()
151 return utid; in GetThreadOrNull()
155 auto utid = GetThreadOrNull(tid); in GetOrCreateThread() local
156 return utid ? *utid : StartNewThread(std::nullopt, tid); in GetOrCreateThread()
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/stdlib/viz/summary/
H A Dthreads.sql20 utid, field
25 WHERE utid != 0 AND dur != -1
26 GROUP BY utid;
29 SELECT utid, SUM(cnt) AS slice_count field
32 GROUP BY utid;
35 SELECT utid, count() AS perf_sample_cnt field
38 GROUP BY utid;
43 utid,
50 WHERE utid = t.utid
55 WHERE utid = t.utid
[all …]
/aosp_15_r20/external/skia/platform_tools/android/apps/skottie/
H A Dskottie_metric.sql10 thread_track.utid as render_thread_id
14 GROUP BY thread_track.utid;
24 INNER JOIN thread ON (thread.utid = thread_track.utid)
35 thread_track.utid as render_thread_id
38 INNER JOIN thread ON (thread.utid = thread_track.utid)
41 GROUP BY thread_track.utid;
49 thread_track.utid as render_thread_id
52 INNER JOIN thread ON (thread.utid = thread_track.utid)
55 GROUP BY thread_track.utid;
67 INNER JOIN thread ON (thread.name='SkottieAnimator' AND thread.utid = thread_track.utid)
[all …]
/aosp_15_r20/external/perfetto/ui/src/components/widgets/sql/table/
H A Dwell_known_columns.ts395 private columns: {ts: SqlColumn; dur: SqlColumn; utid: SqlColumn};
419 utid: {
438 utid: this.columns.utid,
450 const utid = data['utid']; constant
455 if (ts === null || utid === null) {
465 if (typeof utid !== 'bigint') {
466 return wrongTypeError('track id', this.columns.utid, utid);
481 private utid: SqlColumn, property in ThreadColumn
490 joinOn: {id: this.utid},
508 return this.utid;
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/metrics/sql/webview/
H A Dwebview_power_usage.sql48 thread_track.utid, field
57 ON thread_track.utid = thread.utid
66 USING SPAN_JOIN(power_per_thread PARTITIONED utid,
67 webview_browser_slices PARTITIONED utid);
85 thread.utid AS utid, field
103 ON power_per_thread.utid = webview_renderer_threads.utid
117 ON power_per_thread.utid = webview_renderer_threads.utid
132 thread.utid AS utid, field
153 ON power_per_thread.utid = host_app_threads.utid
167 ON power_per_thread.utid = host_app_threads.utid
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/importers/syscalls/
H A Dsyscall_tracker.h50 UniqueTid utid,
58 TrackId track_id = context_->track_tracker->InternThreadTrack(utid);
71 if (utid >= in_sys_write_.size())
72 in_sys_write_.Resize(utid + 1);
74 in_sys_write_.Set(utid);
79 UniqueTid utid,
88 if (utid >= in_sys_write_.size())
89 in_sys_write_.Resize(utid + 1);
93 if (!in_sys_write_.IsSet(utid))
95 in_sys_write_.Clear(utid);
[all …]
/aosp_15_r20/out/soong/.intermediates/external/perfetto/perfetto_src_trace_processor_tables_tables_python/gen/src/trace_processor/tables/
Dsched_tables_py.h57 static constexpr uint32_t utid = 4; member
67 using utid = TypedColumn<uint32_t>; member
83 utid(in_utid), in Row()
91 uint32_t utid; member
99 ColumnType::utid::Equals(utid, other.utid) &&
108 static constexpr uint32_t utid = ColumnType::utid::default_flags();
145 ColumnType::utid::type utid() const { in utid() function
146 return table()->utid()[row_number_]; in utid()
174 ColumnType::utid::non_optional_type v) { in set_utid()
222 ColumnType::utid::type utid() const { in utid() function
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/metrics/sql/android/
H A Dandroid_hwui_metric.sql25 thread.utid AS render_thread_id
27 JOIN thread ON (thread.utid = sched.utid AND thread.name = 'RenderThread')
39 thread_track.utid AS render_thread_id
43 GROUP BY thread_track.utid;
52 thread_track.utid AS render_thread_id
56 GROUP BY thread_track.utid;
65 thread_track.utid AS render_thread_id
69 GROUP BY thread_track.utid;
81 JOIN thread ON (thread.name = 'GPU completion' AND thread.utid = thread_track.utid)
83 GROUP BY thread_track.utid;
[all …]
H A Dandroid_cpu.sql27 utid,
41 GROUP BY utid, core_type;
47 utid,
61 GROUP BY utid;
66 utid,
74 GROUP BY utid;
79 utid,
90 GROUP BY utid;
106 LEFT JOIN core_proto_per_thread USING (utid)
107 LEFT JOIN core_type_proto_per_thread USING (utid)
[all …]
H A Dandroid_hwui_threads.sql22 thread.utid
32 thread.utid
42 thread.utid
52 thread.utid
62 thread.utid,
67 JOIN {{table_name_prefix}}_main_thread thread USING (utid)
82 thread.utid,
87 JOIN {{table_name_prefix}}_render_thread thread USING (utid)
102 thread.utid,
109 JOIN {{table_name_prefix}}_gpu_completion_thread thread USING (utid)
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/metrics/sql/android/jank/
H A Drelevant_threads.sql25 thread.utid as utid field
28 JOIN thread_track USING (utid)
39 COALESCE(cuj.ui_thread, p.utid) AS main_thread_override
45 SELECT cuj_id, cuj.upid, utid, thread.name, thread_track.id AS track_id field
48 JOIN thread_track USING (utid)
53 OR (p.main_thread_override = thread.utid);
56 RETURNS TABLE(cuj_id INT, upid INT, utid INT, name STRING, track_id INT) AS
60 utid,
65 JOIN thread_track USING (utid)
88 SELECT upid, utid, thread.name, thread_track.id AS track_id
[all …]
H A Dslices.sql22 thread.utid,
29 JOIN thread_track USING (utid)
42 utid, field
46 JOIN thread_track USING (utid)
47 JOIN thread USING (utid)
61 utid, field
65 JOIN thread_track USING (utid)
66 JOIN thread USING (utid)
81 thread.utid,
88 JOIN thread_track USING (utid)
[all …]
H A Dcujs_boundaries.sql100 do_frame.utid,
140 utid, field
145 GROUP BY cuj_id, utid;
170 draw_frame.utid,
185 GROUP BY draw_frame.cuj_id, draw_frame.utid, draw_frame.vsync
197 utid, field
202 GROUP BY cuj_id, utid;
250 commit_slice.utid,
262 SELECT utid, cuj_id, vsync, ts, dur, ts_end FROM fake_commit_composite_slice
264 SELECT utid, cuj_id, vsync, ts, dur, ts_end FROM android_jank_cuj_sf_on_message_invalidate_slice
[all …]
/aosp_15_r20/external/perfetto/ui/src/plugins/dev.perfetto.CriticalPath/
H A Dindex.ts82 trackDesc?.tags?.utid !== undefined
84 return trackDesc.tags.utid;
111 utid?: Utid,
113 if (utid === undefined) {
116 if (selection.utid !== undefined) {
117 utid = asUtid(selection.utid);
121 if (utid === undefined) return undefined;
122 return getThreadInfo(trace.engine, utid);
137 callback: async (utid?: Utid) => {
138 const thdInfo = await getThreadInfoForUtidOrSelection(ctx, utid);
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/importers/ftrace/
H A Dbinder_tracker.cc275 UniqueTid utid = context_->process_tracker->GetOrCreateThread( in Transaction() local
277 auto dest_thread_name = context_->storage->thread_table()[utid].name(); in Transaction()
335 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in TransactionReceived() local
336 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in TransactionReceived()
369 auto args_inserter = [this, utid, in TransactionReceived()
372 auto dest_thread_name = context_->storage->thread_table()[utid].name(); in TransactionReceived()
435 UniqueTid utid = in ReturnFromKernel() local
438 context_->track_tracker->InternThreadTrack(utid); in ReturnFromKernel()
505 UniqueTid utid = context_->process_tracker->GetOrCreateThread(pid); in Lock() local
506 TrackId track_id = context_->track_tracker->InternThreadTrack(utid); in Lock()
[all …]
/aosp_15_r20/external/perfetto/ui/src/plugins/dev.perfetto.ThreadState/
H A Dindex.ts26 function uriForThreadStateTrack(upid: number | null, utid: number): string {
27 return `${getThreadUriPrefix(upid, utid)}_state`;
57 utid: NUM,
65 const {utid, upid, tid, threadName, isMainThread, isKernelThread} = it; constant
67 utid,
73 const uri = uriForThreadStateTrack(upid, utid);
79 utid,
86 track: new ThreadStateTrack(ctx, uri, utid),
91 .getGroupForThread(utid);
109 const {upid, utid} = result.firstRow({ constant
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/stdlib/linux/cpu/utilization/
H A Dthread.sql28 utid JOINID(thread.id)
46 utid
48 WHERE utid = $utid
57 utid JOINID(thread.id)
71 SELECT * FROM cpu_thread_utilization_per_period(time_from_s(1), $utid);
76 utid JOINID(thread.id),
91 utid,
99 GROUP BY utid;
110 utid JOINID(thread.id),
125 utid,
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/stdlib/android/memory/
H A Ddmabuf.sql20 tt.utid, field
30 SELECT utid
38 thread_track.utid
41 JOIN gralloc_threads USING (utid)
52 IFNULL(client_thread.utid, r.utid) AS attr_utid
54 LEFT JOIN _gralloc_binders gb ON r.utid = gb.utid AND r.ts BETWEEN gb.ts AND gb.ts + gb.dur
83 utid JOINID(thread.id),
96 SELECT inode, ts, buf_size, _alloc_source(buf_size > 0, inode, ts) AS utid
100 utid, tid, thread.name AS thread_name,
103 JOIN thread USING (utid)
/aosp_15_r20/external/perfetto/ui/src/public/
H A Dutils.ts22 utid: number | null;
38 utid, constant
52 const hasUtid = utid !== undefined && utid !== null;
87 return `utid: ${utid}${kindSuffix}`;
98 utid: number | null,
102 } else if (exists(utid)) {
103 return `/thread_${utid}`;
109 export function getThreadUriPrefix(upid: number | null, utid: number): string {
111 return `/process_${upid}/thread_${utid}`;
113 return `/thread_${utid}`;
/aosp_15_r20/external/perfetto/ui/src/plugins/dev.perfetto.ProcessThreadGroups/
H A Dindex.ts50 getGroupForThread(utid: number): TrackNode | undefined {
51 return this.threadGroups.get(utid);
111 utid: NUM,
134 const {utid} = it; constant
137 uri: `thread${utid}`,
138 title: `Thread ${utid}`,
143 this.threadGroups.set(utid, threadGroup);
326 utid: NUM,
332 const {utid, tid, upid, threadName} = it; constant
335 if (this.threadGroups.has(utid)) {
[all …]

12345678910