Defined in File AllocationPrefetcher.hpp
AllocationPrefetcher: public umpire::strategy::AllocationStrategy¶
Apply the appropriate “PREFETCH” operation to every allocation.
allocate(std::size_t bytes) override¶
Allocate bytes of memory.
Pointer to start of allocated bytes.
bytes: Number of bytes to allocate.
deallocate(void *ptr) override¶
Free the memory at ptr.
ptr: Pointer to free.
getPlatform() noexcept override¶
Get the platform associated with this AllocationStrategy.
The Platform distinguishes the appropriate place to execute operations on memory allocated by this AllocationStrategy.
The platform associated with this AllocationStrategy.
getCurrentSize() const noexcept¶
Get current (total) size of the allocated memory.
This is the total size of all allocation currently ‘live’ that have been made by this AllocationStrategy object.
Current total size of allocations.
getHighWatermark() const noexcept¶
Get the high watermark of the total allocated size.
This is equivalent to the highest observed value of getCurrentSize.
High watermark allocation size.
getActualSize() const noexcept¶
Get the current amount of memory allocated by this allocator.
The total size of all the memory this object has allocated.
getAllocationCount() const noexcept¶
Get the total number of active allocations by this allocator.
The total number of active allocations this object has allocated.
const std::string &
Get the name of this AllocationStrategy.
The name of this AllocationStrategy.
- void *