Home
last modified time | relevance | path

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

/external/swiftshader/third_party/marl/src/
Dmarl_test.h35 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;
/external/swiftshader/third_party/marl/include/marl/
Dmemory.h237 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() function
295 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()