|
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.
|
#include "timemory/ert/aligned_allocator.hpp"
Collaboration diagram for tim::ert::aligned_allocator< Tp, AlignV >:Classes | |
| struct | rebind |
Public Types | |
| using | value_type = Tp |
| using | pointer = Tp * |
| using | reference = Tp & |
| using | const_pointer = const Tp * |
| using | const_reference = const Tp & |
| using | size_type = std::size_t |
| using | difference_type = ptrdiff_t |
Public Member Functions | |
| aligned_allocator ()=default | |
| aligned_allocator (const aligned_allocator &)=default | |
| aligned_allocator (aligned_allocator &&) noexcept | |
| template<typename U > | |
| aligned_allocator (const aligned_allocator< U, AlignV > &) | |
| ~aligned_allocator ()=default | |
| aligned_allocator & | operator= (const aligned_allocator &)=delete |
| aligned_allocator & | operator== (aligned_allocator &&)=delete |
| bool | operator!= (const aligned_allocator &other) const |
| bool | operator== (const aligned_allocator &) const |
| Tp * | address (Tp &r) const |
| const Tp * | address (const Tp &s) const |
| std::size_t | max_size () const |
| void | construct (Tp *const p, const Tp &t) const |
| template<typename... ArgsT> | |
| void | construct (Tp *const p, ArgsT &&... args) const |
| void | destroy (Tp *const p) const |
| Tp * | allocate (const std::size_t n) const |
| void | deallocate (Tp *const ptr, const std::size_t) const |
| template<typename U > | |
| Tp * | allocate (const std::size_t n, const U *) const |
| std::size_t | get_alignment () |
Definition at line 49 of file aligned_allocator.hpp.
| struct tim::ert::aligned_allocator::rebind |
Definition at line 90 of file aligned_allocator.hpp.
Collaboration diagram for tim::ert::aligned_allocator< Tp, AlignV >::rebind< U >:| Class Members | ||
|---|---|---|
| typedef aligned_allocator< U, AlignV > | other | |
| using tim::ert::aligned_allocator< Tp, AlignV >::const_pointer = const Tp* |
Definition at line 56 of file aligned_allocator.hpp.
| using tim::ert::aligned_allocator< Tp, AlignV >::const_reference = const Tp& |
Definition at line 57 of file aligned_allocator.hpp.
| using tim::ert::aligned_allocator< Tp, AlignV >::difference_type = ptrdiff_t |
Definition at line 59 of file aligned_allocator.hpp.
| using tim::ert::aligned_allocator< Tp, AlignV >::pointer = Tp* |
Definition at line 54 of file aligned_allocator.hpp.
| using tim::ert::aligned_allocator< Tp, AlignV >::reference = Tp& |
Definition at line 55 of file aligned_allocator.hpp.
| using tim::ert::aligned_allocator< Tp, AlignV >::size_type = std::size_t |
Definition at line 58 of file aligned_allocator.hpp.
| using tim::ert::aligned_allocator< Tp, AlignV >::value_type = Tp |
Definition at line 53 of file aligned_allocator.hpp.
|
default |
|
default |
|
inlinenoexcept |
Definition at line 65 of file aligned_allocator.hpp.
|
inline |
Definition at line 67 of file aligned_allocator.hpp.
|
default |
|
inline |
Definition at line 80 of file aligned_allocator.hpp.
|
inline |
Definition at line 79 of file aligned_allocator.hpp.
|
inline |
Definition at line 109 of file aligned_allocator.hpp.
References tim::ert::aligned_allocator< Tp, AlignV >::max_size().
Referenced by tim::ert::aligned_allocator< Tp, AlignV >::allocate().
|
inline |
Definition at line 143 of file aligned_allocator.hpp.
References tim::ert::aligned_allocator< Tp, AlignV >::allocate().
|
inline |
Definition at line 102 of file aligned_allocator.hpp.
|
inline |
Definition at line 95 of file aligned_allocator.hpp.
|
inline |
Definition at line 136 of file aligned_allocator.hpp.
|
inline |
Definition at line 107 of file aligned_allocator.hpp.
|
inline |
Definition at line 149 of file aligned_allocator.hpp.
|
inline |
Definition at line 82 of file aligned_allocator.hpp.
Referenced by tim::ert::aligned_allocator< Tp, AlignV >::allocate().
|
inline |
Definition at line 75 of file aligned_allocator.hpp.
|
delete |
|
delete |
|
inline |
Definition at line 76 of file aligned_allocator.hpp.