Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
DRecordData.h85 class MallocEntry : public AllocEntry {
87 MallocEntry(void* pointer, size_t size, uint64_t st, uint64_t et);
88 virtual ~MallocEntry() = default;
96 BIONIC_DISALLOW_COPY_AND_ASSIGN(MallocEntry);
110 class CallocEntry : public MallocEntry {
124 class ReallocEntry : public MallocEntry {
139 class MemalignEntry : public MallocEntry {
DRecordData.cpp59 MallocEntry::MallocEntry(void* pointer, size_t size, uint64_t start_ns, uint64_t end_ns) in MallocEntry() function in MallocEntry
62 bool MallocEntry::Write(int fd) const { in Write()
77 : MallocEntry(pointer, size, start_ns, end_ns), nmemb_(nmemb) {} in CallocEntry()
86 : MallocEntry(pointer, size, start_ns, end_ns), old_pointer_(old_pointer) {} in ReallocEntry()
96 : MallocEntry(pointer, size, start_ns, end_ns), alignment_(alignment) {} in MemalignEntry()
Dmalloc_debug.cpp593 g_debug->record->AddEntry(new MallocEntry(result.getValue<void*>(), size, in debug_malloc()
/bionic/benchmarks/
Dmalloc_sql_benchmark.cpp47 struct MallocEntry { struct
54 void BenchmarkMalloc(MallocEntry entries[], size_t total_entries, size_t max_allocs) { in BenchmarkMalloc() argument
114 BenchmarkMalloc(g_sql_entries, sizeof(g_sql_entries) / sizeof(MallocEntry), in BM_malloc_sql_trace_default()
126 BenchmarkMalloc(g_sql_entries, sizeof(g_sql_entries) / sizeof(MallocEntry), in BM_malloc_sql_trace_decay1()