Home
last modified time | relevance | path

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

/system/extras/memory_replay/
Dmain.cpp69 void ProcessDump(int fd, size_t max_allocs, size_t max_threads) { in ProcessDump() argument
71 Pointers pointers(max_allocs); in ProcessDump()
75 printf("Maximum allocations in dump: %zu\n", max_allocs); in ProcessDump()
185 size_t max_allocs = GetMaxAllocs(dump_fd); in main() local
186 ProcessDump(dump_fd, max_allocs, max_threads); in main()
DPointers.cpp29 Pointers::Pointers(size_t max_allocs) { in Pointers() argument
33 pointers_size_ = (max_allocs * 4 * sizeof(pointer_data) + pagesize - 1) & ~(pagesize - 1); in Pointers()
38 err(1, "Unable to allocate data for pointer hash: %zu total_allocs\n", max_allocs); in Pointers()
DPointers.h30 explicit Pointers(size_t max_allocs);