Searched refs:AllocEntry (Results 1 – 11 of 11) sorted by relevance
/system/extras/memory_replay/tests/ |
D | AllocTest.cpp | 27 AllocEntry entry; in TEST() 38 AllocEntry entry; in TEST() 47 AllocEntry entry; in TEST() 58 AllocEntry entry; in TEST() 64 AllocEntry entry; in TEST() 75 AllocEntry entry; in TEST() 87 AllocEntry entry; in TEST() 98 AllocEntry entry; in TEST() 110 AllocEntry entry; in TEST() 121 AllocEntry entry; in TEST() [all …]
|
D | FileTest.cpp | 49 AllocEntry* entries; in TEST() 74 AllocEntry* entries; in TEST() 84 AllocEntry* entries; in TEST() 109 AllocEntry* entries; in TEST()
|
D | ThreadsTest.cpp | 35 AllocEntry thread_done = {.type = THREAD_DONE}; in TEST() 70 AllocEntry thread_done = {.type = THREAD_DONE}; in TEST() 99 std::vector<AllocEntry> mallocs(kAllocEntries); in TEST() 100 std::vector<AllocEntry> frees(kAllocEntries); in TEST() 116 AllocEntry thread_done = {.type = THREAD_DONE}; in TEST()
|
/system/extras/memory_replay/ |
D | Alloc.h | 33 struct AllocEntry { struct 45 void AllocGetData(const std::string& line, AllocEntry* entry); argument 47 bool AllocDoesFree(const AllocEntry& entry); 49 uint64_t AllocExecute(const AllocEntry& entry, Pointers* pointers);
|
D | Thread.h | 24 struct AllocEntry; 42 void SetAllocEntry(const AllocEntry* entry) { entry_ = entry; } in SetAllocEntry() 43 const AllocEntry& GetAllocEntry() { return *entry_; } in GetAllocEntry() 56 const AllocEntry* entry_;
|
D | File.h | 24 struct AllocEntry; 29 void GetUnwindInfo(const char* filename, AllocEntry** entries, size_t* num_entries); 31 void FreeEntries(AllocEntry* entries, size_t num_entries);
|
D | Alloc.cpp | 29 void AllocGetData(const std::string& line, AllocEntry* entry) { in AllocGetData() 83 bool AllocDoesFree(const AllocEntry& entry) { in AllocDoesFree() 99 static uint64_t MallocExecute(const AllocEntry& entry, Pointers* pointers) { in MallocExecute() 111 static uint64_t CallocExecute(const AllocEntry& entry, Pointers* pointers) { in CallocExecute() 123 static uint64_t ReallocExecute(const AllocEntry& entry, Pointers* pointers) { in ReallocExecute() 140 static uint64_t MemalignExecute(const AllocEntry& entry, Pointers* pointers) { in MemalignExecute() 152 static uint64_t FreeExecute(const AllocEntry& entry, Pointers* pointers) { in FreeExecute() 163 uint64_t AllocExecute(const AllocEntry& entry, Pointers* pointers) { in AllocExecute()
|
D | File.cpp | 79 void GetUnwindInfo(const char* filename, AllocEntry** entries, size_t* num_entries) { in GetUnwindInfo() 125 mem = mmap(nullptr, *num_entries * sizeof(AllocEntry), PROT_READ | PROT_WRITE, in GetUnwindInfo() 128 err(1, "Unable to allocate a shared map of size %zu", *num_entries * sizeof(AllocEntry)); in GetUnwindInfo() 130 *entries = reinterpret_cast<AllocEntry*>(mem); in GetUnwindInfo() 169 void FreeEntries(AllocEntry* entries, size_t num_entries) { in FreeEntries() 170 munmap(entries, num_entries * sizeof(AllocEntry)); in FreeEntries()
|
D | main.cpp | 39 static size_t GetMaxAllocs(const AllocEntry* entries, size_t num_entries) { in GetMaxAllocs() 73 static void ProcessDump(const AllocEntry* entries, size_t num_entries, size_t max_threads) { in ProcessDump() 92 const AllocEntry& entry = entries[i]; in ProcessDump() 179 AllocEntry* entries; in main()
|
D | Threads.cpp | 38 const AllocEntry& entry = thread->GetAllocEntry(); in ThreadRunner() 148 AllocEntry thread_done = {.type = THREAD_DONE}; in FinishAll()
|
D | TraceBenchmark.cpp | 43 AllocEntry* entries = nullptr; 102 AllocEntry* entry = &trace_data->entries[i]; in GetTraceData() 159 const AllocEntry& entry = trace_data->entries[i]; in RunTrace()
|