HomeSort by relevance Sort by last modified time
    Searched refs:upid (Results 1 - 9 of 9) sorted by null

  /external/perfetto/src/trace_processor/
process_tracker.cc 82 if (!iter_thread->upid.has_value()) {
90 context_->storage->GetProcess(iter_thread->upid.value());
107 if (!thread->upid.has_value()) {
108 thread->upid = GetOrCreateProcess(pid);
111 ResolvePendingAssociations(utid, *thread->upid);
138 UniquePid upid; local
140 std::tie(upid, process) = GetOrCreateProcessPtr(pid);
143 return upid;
152 UniquePid upid; local
155 upid = it->second
    [all...]
process_tracker_unittest.cc 55 auto upid = context.process_tracker->GetOrCreateProcess(123); local
56 ASSERT_EQ(context.process_tracker->GetOrCreateProcess(123), upid);
61 auto upid = context.process_tracker->StartNewProcess(1000, 123); local
62 ASSERT_EQ(context.process_tracker->GetOrCreateProcess(123), upid);
63 ASSERT_EQ(context.storage->GetProcess(upid).start_ns, 1000);
111 ASSERT_EQ(thread.upid.value(), 1);
126 ASSERT_EQ(thread.upid.value(), 1);
event_tracker.cc 213 // TODO(lalitm): having upid == 0 is probably not the correct approach here
215 UniquePid upid = thread.upid.value_or(0);
218 pending_counter.name_id, upid, RefType::kRefUpid);
225 // TODO(lalitm): having upid == 0 is probably not the correct approach here
227 UniquePid upid = thread.upid.value_or(0);
228 context_->storage->mutable_instants()->set_ref(pending_instant.row, upid);
thread_table.cc 43 Table::Column(Column::kUpid, "upid", ColumnType::kInt),
115 if (thread.upid.has_value()) {
116 sqlite3_result_int64(context, thread.upid.value());
raw_table.cc 233 if (thread.upid.has_value()) {
234 tgid = storage_->GetProcess(thread.upid.value()).pid;
trace_storage.h 106 base::Optional<UniquePid> upid; member in struct:perfetto::trace_processor::TraceStorage::Thread
745 Process* GetMutableProcess(UniquePid upid) {
746 PERFETTO_DCHECK(upid < unique_processes_.size());
747 return &unique_processes_[upid];
827 const Process& GetProcess(UniquePid upid) const {
828 PERFETTO_DCHECK(upid < unique_processes_.size());
829 return unique_processes_[upid];
    [all...]
proto_trace_parser.cc 490 UniquePid upid = context_->process_tracker->GetOrCreateProcess(pid); local
491 context_->event_tracker->PushCounter(ts, value, name, upid,
836 UniquePid upid = local
910 UniquePid upid = context_->process_tracker->GetOrCreateProcess(pid); local
    [all...]
  /external/perfetto/src/trace_processor/metrics/android/
android_mem_lmk.sql 18 CREATE TABLE last_oom_adj(upid BIG INT PRIMARY KEY, ts BIG INT, score INT);
21 SELECT upid, ts, score
23 SELECT ref AS upid,
29 AND ref_type = 'upid')
33 SELECT ref AS upid
35 WHERE name = 'mem.lmk' AND ref_type = 'upid';
40 LEFT JOIN process ON lmk_events.upid = process.upid
41 LEFT JOIN last_oom_adj ON lmk_events.upid = last_oom_adj.upid
    [all...]
  /external/perfetto/test/trace_processor/
oom_query.sql 5 ref AS upid,
8 WHERE ref_type = 'upid' AND counters.name IN ("mem.rss.file", "rss_stat.mm_filepages");
14 ref as upid,
17 where ref_type = 'upid' and counters.name in ("mem.rss.anon", "rss_stat.mm_anonpages");
23 ref as upid,
26 where ref_type = 'upid' and counters.name = 'oom_score_adj';
29 CREATE VIRTUAL TABLE anon_file USING span_join(anon_rss PARTITIONED upid, file_rss PARTITIONED upid);
31 CREATE VIRTUAL TABLE anon_file_oom USING span_join(anon_file PARTITIONED upid, oom_adj PARTITIONED upid);
    [all...]

Completed in 355 milliseconds