|
timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
|
Ensures that allocators which have state are not deleted until all handles to the allocator have been released. More...
#include "timemory/data/shared_stateful_allocator.hpp"
Collaboration diagram for tim::data::shared_stateful_allocator< AllocT >:Public Types | |
| using | this_type = shared_stateful_allocator< AllocT > |
Static Public Member Functions | |
| static auto | request () |
| static auto | release (std::shared_ptr< AllocT > &_v) |
Ensures that allocators which have state are not deleted until all handles to the allocator have been released.
| AllocT | The allocator type |
Definition at line 49 of file shared_stateful_allocator.hpp.
| using tim::data::shared_stateful_allocator< AllocT >::this_type = shared_stateful_allocator<AllocT> |
Definition at line 51 of file shared_stateful_allocator.hpp.
|
inlinestatic |
Definition at line 62 of file shared_stateful_allocator.hpp.
Referenced by tim::graph< T, AllocatorT >::~graph().
|
inlinestatic |
Definition at line 54 of file shared_stateful_allocator.hpp.