/external/perfetto/src/trace_processor/metrics/experimental/ |
D | media_metric.sql | 21 SELECT s.*, thread.utid, thread.upid 34 upid 51 PlaybackStart.upid, 57 AND s.upid = PlaybackStart.upid 58 GROUP BY playback_id, playback_start, PlaybackStart.upid; 69 PlaybackStart.upid, 75 AND s.upid = PlaybackStart.upid 76 GROUP BY playback_id, playback_start, PlaybackStart.upid; 86 vs.upid, 96 AND s.upid = vs.upid [all …]
|
/external/perfetto/src/trace_processor/metrics/android/ |
D | process_mem.sql | 43 USING SPAN_OUTER_JOIN(anon_rss_span PARTITIONED upid, swap_span PARTITIONED upid); 48 ts, dur, upid, 56 anon_and_swap_join PARTITIONED upid, 57 file_rss_span PARTITIONED upid 64 anon_and_file_and_swap_join PARTITIONED upid, 65 shmem_rss_span PARTITIONED upid 71 ts, dur, upid, 90 SELECT ts, dur, upid, java_heap_kb_val * 1024 AS java_heap_val 95 USING SPAN_JOIN(anon_rss_span PARTITIONED upid, oom_score_span PARTITIONED upid); 99 USING SPAN_JOIN(file_rss_span PARTITIONED upid, oom_score_span PARTITIONED upid); [all …]
|
D | android_cpu.sql | 95 upid, 108 GROUP BY upid; 113 upid, 128 GROUP BY upid, cpu; 133 upid, 141 GROUP BY upid; 146 upid, 161 GROUP BY upid, core_type; 166 upid, 174 GROUP BY upid; [all …]
|
D | java_heap_stats.sql | 26 upid, 37 upid, 52 upid, 63 SELECT * FROM base_stat_counts JOIN heap_roots_proto USING (upid, graph_sample_ts) 68 upid, 78 WHERE upid = base_stats.upid) 91 base_stats.upid, 102 LEFT JOIN closest_anon_swap USING (upid, graph_sample_ts) 107 'upid', upid, 111 FROM heap_graph_sample_protos JOIN process_metadata USING (upid);
|
D | android_thread_time_in_state.sql | 81 upid, 92 GROUP BY upid; 98 upid, 106 GROUP BY upid, time_in_state_cpu, core_type 109 upid, 118 GROUP BY upid; 132 JOIN process_metadata USING (upid) 133 JOIN android_thread_time_in_state_process_metrics USING (upid) 134 JOIN android_thread_time_in_state_threads USING (upid) 154 upid, [all …]
|
D | android_hwui_metric.sql | 23 process.upid as process_upid, 28 INNER JOIN process ON (process.upid = thread.upid) 78 thread.upid as process_upid 92 thread.upid as process_upid 96 INNER JOIN process ON (process.upid = thread.upid) 142 process_counter_track.upid as process_upid 146 GROUP BY process_counter_track.upid; 154 process_counter_track.upid as process_upid 158 GROUP BY process_counter_track.upid; 166 process_counter_track.upid as process_upid [all …]
|
D | android_task_names.sql | 25 upid, 33 upid, 51 LEFT JOIN threads_by_upid USING (upid) 52 LEFT JOIN upid_packages USING (upid) 53 WHERE upid != 0;
|
D | java_heap_histogram.sql | 49 o.upid, 64 upid, 78 upid, 88 'upid', upid, 92 FROM heap_obj_histogram_sample_protos JOIN process_metadata USING (upid);
|
D | process_metadata.sql | 28 process.upid, field 62 upid, 70 GROUP BY upid 73 upid, 85 LEFT JOIN upid_packages USING (upid);
|
D | process_counter_span_view.sql | 26 FROM process p WHERE p.upid = t.upid) + 1 28 upid, 32 WHERE name = '{{counter_name}}' AND upid IS NOT NULL;
|
D | android_lmk.sql | 23 SELECT ref AS upid, MIN(ts) AS ts 30 raw_events.upid, 34 ON (raw_events.upid = oom_scores.upid AND 58 LEFT JOIN process USING(upid)
|
D | android_lmk_reason.sql | 36 oom_score_span.upid, 58 rss_and_swap_span.upid, 81 JOIN process_metadata USING (upid) 82 LEFT JOIN oom_score_at_lmk_time USING (ts, upid) 94 LEFT JOIN oom_score_at_lmk_time USING (ts, upid)
|
/external/perfetto/src/trace_processor/importers/common/ |
D | process_tracker.cc | 73 auto opt_upid = thread_table->upid()[utid]; in EndThread() 136 auto opt_current_upid = threads->upid()[utid]; in IsThreadAlive() 179 auto opt_current_upid = threads->upid()[current_utid]; in GetThreadOrNull() 202 if (!thread_table->upid()[utid].has_value()) { in UpdateThread() 206 ResolvePendingAssociations(utid, *thread_table->upid()[utid]); in UpdateThread() 227 UniquePid upid = GetOrCreateProcess(pid); in StartNewProcess() local 232 PERFETTO_DCHECK(process_table->name()[upid].is_null()); in StartNewProcess() 233 PERFETTO_DCHECK(!process_table->start_ts()[upid].has_value()); in StartNewProcess() 236 process_table->mutable_start_ts()->Set(upid, *timestamp); in StartNewProcess() 238 process_table->mutable_name()->Set(upid, main_thread_name); in StartNewProcess() [all …]
|
D | track_tracker.cc | 49 TrackId TrackTracker::InternProcessTrack(UniquePid upid) { in InternProcessTrack() argument 50 auto it = process_tracks_.find(upid); in InternProcessTrack() 55 row.upid = upid; in InternProcessTrack() 57 process_tracks_[upid] = id; in InternProcessTrack() 62 uint32_t upid, in InternFuchsiaAsyncTrack() argument 64 return InternLegacyChromeAsyncTrack(name, upid, correlation_id, false, in InternFuchsiaAsyncTrack() 95 uint32_t upid, in InternLegacyChromeAsyncTrack() argument 101 tuple.upid = upid; in InternLegacyChromeAsyncTrack() 121 track.upid = upid; in InternLegacyChromeAsyncTrack() 142 TrackId TrackTracker::CreateAndroidAsyncTrack(StringId name, UniquePid upid) { in CreateAndroidAsyncTrack() argument [all …]
|
D | process_tracker_unittest.cc | 55 auto upid = context.process_tracker->GetOrCreateProcess(123); in TEST_F() local 56 ASSERT_EQ(context.process_tracker->GetOrCreateProcess(123), upid); in TEST_F() 60 auto upid = in TEST_F() local 62 ASSERT_EQ(context.process_tracker->GetOrCreateProcess(123), upid); in TEST_F() 63 ASSERT_EQ(context.storage->process_table().start_ts()[upid], 1000); in TEST_F() 103 ASSERT_EQ(context.storage->thread_table().upid()[1].value(), 1u); in TEST_F() 128 UniquePid upid = context.process_tracker->SetProcessMetadata( in TEST_F() local 130 ASSERT_EQ(context.storage->process_table().cmdline().GetString(upid), in TEST_F() 158 auto upid = context.process_tracker->StartNewProcess( in TEST_F() local 160 context.process_tracker->SetStartTsIfUnset(upid, 1000); in TEST_F() [all …]
|
D | track_tracker.h | 35 TrackId InternProcessTrack(UniquePid upid); 39 uint32_t upid, 50 uint32_t upid, 59 TrackId CreateAndroidAsyncTrack(StringId name, UniquePid upid); 62 TrackId CreateFrameTimelineAsyncTrack(StringId name, UniquePid upid); 66 TrackId InternLegacyChromeProcessInstantTrack(UniquePid upid); 88 UniquePid upid, 126 base::Optional<int64_t> upid; member 132 return std::tie(l.source_id, l.upid, l.source_scope) < 133 std::tie(r.source_id, r.upid, r.source_scope);
|
/external/perfetto/ui/src/controller/ |
D | track_decider.ts | 80 upid: number|null, 86 upid, constant 97 const hasUpid = upid !== undefined && upid !== null; 124 return `upid: ${upid}${kindSuffix}`; 368 const upid = annotationSliceRows.columns[2].longValues![i]; constant 374 trackGroup: upid === 0 ? SCROLLING_TRACK_GROUP : 375 this.upidToUuid.get(upid), 390 const upid = annotationCounterRows.columns[2].longValues![i]; constant 402 trackGroup: upid === 0 ? SCROLLING_TRACK_GROUP : 403 this.upidToUuid.get(upid), [all …]
|
D | heap_profile_controller.ts | 102 selectedHeapProfile.upid) 126 `${selectedHeapProfile.upid};${selectedHeapProfile.ts}`; 134 selectedHeapProfile.upid, 168 upid: heapProfile.upid, 184 this.lastSelectedHeapProfile.upid !== selection.upid || 206 baseKey: string, viewingOption: string, ts: number, upid: number, 219 await this.prepareViewsAndTables(ts, upid, type, focusRegex); 312 ts: number, upid: number, type: string, 325 from experimental_flamegraph(${ts}, ${upid}, '${type}') ${ 341 async getHeapProfileMetadata(type: string, ts: number, upid: number) { [all …]
|
/external/perfetto/src/trace_processor/metrics/chrome/ |
D | chrome_processes.sql | 71 SELECT upid, m.type AS process_type 78 SELECT utid, thread.upid, thread.name 80 WHERE thread.upid = all_chrome_processes.upid; 88 SELECT DISTINCT p.upid, 91 JOIN all_chrome_threads t ON p.upid = t.upid 103 SELECT a.upid, 107 LEFT JOIN chrome_subprocess_types s ON a.upid = s.upid 108 ) c ON PROCESS.upid = c.upid; 126 JOIN chrome_process p ON t.upid = p.upid
|
/external/perfetto/test/trace_processor/parsing/ |
D | oom_query.sql | 20 upid, 31 upid, 42 upid, 50 CREATE VIRTUAL TABLE anon_file USING span_join(anon_rss PARTITIONED upid, file_rss PARTITIONED upid… 52 … VIRTUAL TABLE anon_file_oom USING span_join(anon_file PARTITIONED upid, oom_adj PARTITIONED upid); 58 upid, 71 upid, 79 WINDOW win AS (PARTITION BY upid ORDER BY ts);
|
/external/perfetto/test/trace_processor/chrome/ |
D | memory_snapshot_os_dump_events.sql | 18 p.upid, 29 SELECT id, upid 33 ON p.upid = pct_pf.upid 36 SELECT id, upid 40 ON p.upid = pct_prs.upid
|
/external/skia/platform_tools/android/apps/skottie/ |
D | skottie_metric.sql | 21 thread.upid as process_upid 39 INNER JOIN test_start_ts ON (test_start_ts.process_upid = thread.upid) 64 thread.upid as process_upid 75 thread.upid as process_upid 77 INNER JOIN process ON (process.upid = thread.upid) 84 GROUP BY thread.upid; 89 thread.upid as process_upid 94 GROUP BY thread.upid; 99 thread.upid as process_upid 101 INNER JOIN process ON (process.upid = thread.upid) [all …]
|
/external/perfetto/test/trace_processor/smoke/ |
D | thread_cpu_time.sql | 24 left join process using(upid) 25 left join (select upid, sum(dur) as total_dur 27 group by upid 28 ) using(upid) 29 group by utid, upid
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | async_track_set_tracker.h | 92 UniquePid upid; member 96 return std::tie(l.upid, l.name) < std::tie(r.upid, r.name); 101 UniquePid upid; member 106 return std::tie(l.upid, l.name) < std::tie(r.upid, r.name); 165 TrackSetId CreateUnnestableTrackSetForTesting(UniquePid upid, StringId name) { in CreateUnnestableTrackSetForTesting() argument 167 set.android_tuple = AndroidTuple{upid, name}; in CreateUnnestableTrackSetForTesting()
|
/external/perfetto/src/trace_processor/metrics/webview/ |
D | webview_power_usage.sql | 49 process.upid AS upid, 55 ON thread.upid = process.upid 89 ON thread.upid = process.upid 136 JOIN process ON thread.upid = process.upid 137 WHERE thread.upid IN 138 (SELECT DISTINCT(webview_browser_slices.upid) FROM webview_browser_slices)
|