Home
last modified time | relevance | path

Searched refs:trace_data (Results 1 – 1 of 1) sorted by relevance

/system/extras/memory_replay/
DTraceBenchmark.cpp58 static void FreePtrs(TraceDataType* trace_data) { in FreePtrs() argument
59 for (size_t i = 0; i < trace_data->num_ptrs; i++) { in FreePtrs()
60 void* ptr = trace_data->ptrs[i]; in FreePtrs()
63 trace_data->ptrs[i] = nullptr; in FreePtrs()
68 static void FreeTraceData(TraceDataType* trace_data) { in FreeTraceData() argument
69 if (trace_data->ptrs == nullptr) { in FreeTraceData()
73 munmap(trace_data->ptrs, sizeof(void*) * trace_data->num_ptrs); in FreeTraceData()
74 FreeEntries(trace_data->entries, trace_data->num_entries); in FreeTraceData()
77 static void GetTraceData(const std::string& filename, TraceDataType* trace_data) { in GetTraceData() argument
82 *trace_data = cached_trace_data; in GetTraceData()
[all …]