#include <BoundedAllocator.h>
Inherits std::pmr::memory_resource.
Definition at line 30 of file BoundedAllocator.h.
◆ BoundedMemoryResource()
o2::its::BoundedMemoryResource::BoundedMemoryResource |
( |
size_t |
maxBytes = std::numeric_limits<size_t>::max() , |
|
|
std::pmr::memory_resource * |
upstream = std::pmr::get_default_resource() |
|
) |
| |
|
inline |
◆ do_allocate()
void * o2::its::BoundedMemoryResource::do_allocate |
( |
size_t |
bytes, |
|
|
size_t |
alignment |
|
) |
| |
|
inlinefinal |
◆ do_deallocate()
void o2::its::BoundedMemoryResource::do_deallocate |
( |
void * |
p, |
|
|
size_t |
bytes, |
|
|
size_t |
alignment |
|
) |
| |
|
inlinefinal |
◆ do_is_equal()
◆ getMaxMemory()
size_t o2::its::BoundedMemoryResource::getMaxMemory |
( |
| ) |
const |
|
inlinenoexcept |
◆ getUsedMemory()
size_t o2::its::BoundedMemoryResource::getUsedMemory |
( |
| ) |
const |
|
inlinenoexcept |
◆ print()
void o2::its::BoundedMemoryResource::print |
( |
| ) |
const |
|
inline |
◆ setMaxMemory()
void o2::its::BoundedMemoryResource::setMaxMemory |
( |
size_t |
max | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/AliceO2/AliceO2/Detectors/ITSMFT/ITS/tracking/include/ITStracking/BoundedAllocator.h