/external/perfetto/src/trace_processor/ |
D | trace_storage.cc | 62 TraceStorage::TraceStorage() { in TraceStorage() function in perfetto::trace_processor::TraceStorage 68 TraceStorage::~TraceStorage() {} in ~TraceStorage() 70 void TraceStorage::ResetStorage() { in ResetStorage() 71 *this = TraceStorage(); in ResetStorage() 74 uint32_t TraceStorage::SqlStats::RecordQueryBegin(const std::string& query, in RecordQueryBegin() 93 void TraceStorage::SqlStats::RecordQueryFirstNext(uint32_t row, in RecordQueryFirstNext() 104 void TraceStorage::SqlStats::RecordQueryEnd(uint32_t row, int64_t time_ended) { in RecordQueryEnd() 114 std::pair<int64_t, int64_t> TraceStorage::GetTraceTimestampBoundsNs() const { in GetTraceTimestampBoundsNs()
|
D | args_table.h | 28 using VariadicType = TraceStorage::Args::Variadic::Type; 30 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 32 ArgsTable(sqlite3*, const TraceStorage*); 44 const TraceStorage* storage); 71 TraceStorage::Args::Variadic::Type type_; 72 const TraceStorage* storage_ = nullptr; 75 const TraceStorage* const storage_;
|
D | stats_table.h | 54 const TraceStorage* storage_ = nullptr; 56 TraceStorage::Stats::IndexMap::const_iterator index_{}; 59 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 61 StatsTable(sqlite3*, const TraceStorage*); 69 const TraceStorage* const storage_;
|
D | string_table.h | 29 class TraceStorage; variable 60 const TraceStorage* storage_ = nullptr; 64 StringTable(sqlite3*, const TraceStorage* storage); 66 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 74 const TraceStorage* const storage_;
|
D | sql_stats_table.h | 29 class TraceStorage; variable 64 const TraceStorage* storage_ = nullptr; 68 SqlStatsTable(sqlite3*, const TraceStorage* storage); 70 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 78 const TraceStorage* const storage_;
|
D | process_tracker_unittest.cc | 36 context.storage.reset(new TraceStorage()); in ProcessTrackerTest() 47 TraceStorage storage; in TEST_F() 54 TraceStorage storage; in TEST_F() 60 TraceStorage storage; in TEST_F() 107 TraceStorage::Thread thread = context.storage->GetThread(/*utid=*/1); in TEST_F() 108 TraceStorage::Process process = context.storage->GetProcess(/*utid=*/1); in TEST_F() 119 TraceStorage::Thread thread = context.storage->GetThread(1); in TEST_F()
|
D | slice_table.h | 26 class TraceStorage; variable 36 SliceTable(sqlite3*, const TraceStorage* storage); 38 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 49 const TraceStorage* const storage_;
|
D | process_table.h | 45 const TraceStorage* const storage_; 52 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 54 ProcessTable(sqlite3*, const TraceStorage*); 62 const TraceStorage* const storage_;
|
D | process_tracker.cc | 40 TraceStorage::Thread* thread = context_->storage->GetMutableThread(new_utid); in StartNewThread() 62 TraceStorage::Thread* thread = in UpdateThreadName() 77 TraceStorage::Thread* thread = nullptr; in UpdateThread() 123 std::pair<UniquePid, TraceStorage::Process*> process = in StartNewProcess() 139 TraceStorage::Process* process; in UpdateProcess() 150 std::pair<UniquePid, TraceStorage::Process*> 170 TraceStorage::Thread* thd1 = context_->storage->GetMutableThread(utid1); in AssociateThreads() 171 TraceStorage::Thread* thd2 = context_->storage->GetMutableThread(utid2); in AssociateThreads()
|
D | thread_table.h | 56 const TraceStorage* storage_ = nullptr; 60 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 62 ThreadTable(sqlite3*, const TraceStorage*); 70 const TraceStorage* const storage_;
|
D | slice_tracker_unittest.cc | 46 std::vector<SliceInfo> ToSliceInfo(const TraceStorage::NestableSlices& slices) { in ToSliceInfo() 56 context.storage.reset(new TraceStorage()); in TEST() 75 context.storage.reset(new TraceStorage()); in TEST() 111 context.storage.reset(new TraceStorage()); in TEST() 127 context.storage.reset(new TraceStorage()); in TEST() 141 context.storage.reset(new TraceStorage()); in TEST()
|
D | android_logs_table.h | 28 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 30 AndroidLogsTable(sqlite3*, const TraceStorage*); 38 const TraceStorage* const storage_;
|
D | instants_table.h | 28 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 30 InstantsTable(sqlite3*, const TraceStorage*); 38 const TraceStorage* const storage_;
|
D | counter_definitions_table.h | 28 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 30 CounterDefinitionsTable(sqlite3*, const TraceStorage*); 40 const TraceStorage* const storage_;
|
D | counter_values_table.h | 29 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 31 CounterValuesTable(sqlite3*, const TraceStorage*); 41 const TraceStorage* const storage_;
|
D | raw_table.h | 28 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 30 RawTable(sqlite3*, const TraceStorage*); 43 const TraceStorage* const storage_;
|
D | raw_table.cc | 33 RawTable::RawTable(sqlite3* db, const TraceStorage* storage) in RawTable() 44 void RawTable::RegisterTable(sqlite3* db, const TraceStorage* storage) { in RegisterTable() 86 using Variadic = TraceStorage::Args::Variadic; in FormatSystraceArgs() 90 case TraceStorage::Args::Variadic::kInt: in FormatSystraceArgs() 93 case TraceStorage::Args::Variadic::kReal: in FormatSystraceArgs() 96 case TraceStorage::Args::Variadic::kString: { in FormatSystraceArgs() 224 auto pair = TraceStorage::ParseRowId(row_id); in ToSystrace()
|
D | trace_storage.h | 86 class TraceStorage { 88 TraceStorage(); 90 virtual ~TraceStorage(); 785 ScopedStatsTracer(TraceStorage* storage, size_t key) in ScopedStatsTracer() 813 TraceStorage* storage_; 932 TraceStorage(const TraceStorage&) = delete; 933 TraceStorage& operator=(const TraceStorage&) = delete; 935 TraceStorage(TraceStorage&&) = default; 936 TraceStorage& operator=(TraceStorage&&) = default; 994 struct hash<::perfetto::trace_processor::TraceStorage::HeapProfileFrames::Row> { [all …]
|
D | event_tracker.cc | 110 using Variadic = TraceStorage::Args::Variadic; in PushSchedSwitch() 113 TraceStorage::Args::Variadic var) { in PushSchedSwitch() 152 TraceStorage::CounterDefinitions::Id defn_id; in PushCounter() 154 defn_id = TraceStorage::CounterDefinitions::kInvalidId; in PushCounter() 168 return TraceStorage::CreateRowId(TableId::kCounterValues, in PushCounter() 190 return TraceStorage::CreateRowId(TableId::kInstants, in PushInstant()
|
D | sched_slice_table.h | 30 SchedSliceTable(sqlite3*, const TraceStorage* storage); 32 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 69 const TraceStorage* const storage_;
|
D | window_operator_table.h | 28 class TraceStorage; variable 73 static void RegisterTable(sqlite3* db, const TraceStorage* storage); 75 WindowOperatorTable(sqlite3*, const TraceStorage*);
|
D | table.h | 33 class TraceStorage; variable 41 std::function<std::unique_ptr<Table>(sqlite3*, const TraceStorage*)>; 149 const TraceStorage* storage = nullptr; 164 const TraceStorage* storage, 299 return [](sqlite3* db, const TraceStorage* storage) { in GetFactory() 305 const TraceStorage*,
|
D | heap_profile_tracker.cc | 50 TraceStorage::HeapProfileMappings::Row row{ in AddMapping() 85 TraceStorage::HeapProfileFrames::Row row{str_id, mapping_row, in AddFrame() 121 TraceStorage::HeapProfileCallsites::Row row{static_cast<int64_t>(depth), in AddCallstack() 148 TraceStorage::HeapProfileAllocations::Row alloc_row{ in AddAllocation() 153 TraceStorage::HeapProfileAllocations::Row free_row{ in AddAllocation()
|
D | sql_stats_table.cc | 31 SqlStatsTable::SqlStatsTable(sqlite3*, const TraceStorage* storage) in SqlStatsTable() 34 void SqlStatsTable::RegisterTable(sqlite3* db, const TraceStorage* storage) { in RegisterTable() 81 const TraceStorage::SqlStats& stats = storage_->sql_stats(); in Column()
|
D | args_tracker.h | 30 using Variadic = TraceStorage::Args::Variadic; 41 std::vector<TraceStorage::Args::Arg> args_;
|