Searched refs:TrackedAllocator (Results 1 – 2 of 2) sorted by relevance
35 allocator = new marl::TrackedAllocator(marl::Allocator::Default); in SetUp()45 marl::TrackedAllocator* allocator = nullptr;53 allocator = new marl::TrackedAllocator(marl::Allocator::Default); in SetUp()77 marl::TrackedAllocator* allocator = nullptr;
237 class TrackedAllocator : public Allocator {261 inline TrackedAllocator(Allocator* allocator);276 size_t TrackedAllocator::Stats::numAllocations() const { in numAllocations()284 size_t TrackedAllocator::Stats::bytesAllocated() const { in bytesAllocated()292 TrackedAllocator::TrackedAllocator(Allocator* allocator) in TrackedAllocator() function295 TrackedAllocator::Stats TrackedAllocator::stats() { in stats()300 Allocation TrackedAllocator::allocate(const Allocation::Request& request) { in allocate()310 void TrackedAllocator::free(const Allocation& allocation) { in free()