Home
last modified time | relevance | path

Searched refs:TraceStorage (Results 1 – 25 of 59) sorted by relevance

123

/external/perfetto/src/trace_processor/
Dtrace_storage.cc62 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()
Dargs_table.h28 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_;
Dstats_table.h54 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_;
Dstring_table.h29 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_;
Dsql_stats_table.h29 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_;
Dprocess_tracker_unittest.cc36 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()
Dslice_table.h26 class TraceStorage; variable
36 SliceTable(sqlite3*, const TraceStorage* storage);
38 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
49 const TraceStorage* const storage_;
Dprocess_table.h45 const TraceStorage* const storage_;
52 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
54 ProcessTable(sqlite3*, const TraceStorage*);
62 const TraceStorage* const storage_;
Dprocess_tracker.cc40 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()
Dthread_table.h56 const TraceStorage* storage_ = nullptr;
60 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
62 ThreadTable(sqlite3*, const TraceStorage*);
70 const TraceStorage* const storage_;
Dslice_tracker_unittest.cc46 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()
Dandroid_logs_table.h28 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
30 AndroidLogsTable(sqlite3*, const TraceStorage*);
38 const TraceStorage* const storage_;
Dinstants_table.h28 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
30 InstantsTable(sqlite3*, const TraceStorage*);
38 const TraceStorage* const storage_;
Dcounter_definitions_table.h28 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
30 CounterDefinitionsTable(sqlite3*, const TraceStorage*);
40 const TraceStorage* const storage_;
Dcounter_values_table.h29 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
31 CounterValuesTable(sqlite3*, const TraceStorage*);
41 const TraceStorage* const storage_;
Draw_table.h28 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
30 RawTable(sqlite3*, const TraceStorage*);
43 const TraceStorage* const storage_;
Draw_table.cc33 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()
Dtrace_storage.h86 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 …]
Devent_tracker.cc110 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()
Dsched_slice_table.h30 SchedSliceTable(sqlite3*, const TraceStorage* storage);
32 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
69 const TraceStorage* const storage_;
Dwindow_operator_table.h28 class TraceStorage; variable
73 static void RegisterTable(sqlite3* db, const TraceStorage* storage);
75 WindowOperatorTable(sqlite3*, const TraceStorage*);
Dtable.h33 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*,
Dheap_profile_tracker.cc50 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()
Dsql_stats_table.cc31 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()
Dargs_tracker.h30 using Variadic = TraceStorage::Args::Variadic;
41 std::vector<TraceStorage::Args::Arg> args_;

123