Static allocator for profiling. More...
#include <arcane/std/ProfilingInfo.h>
Classes | |
| struct | rebind |
Public Types | |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
| typedef _Tp * | pointer |
| typedef const _Tp * | const_pointer |
| typedef _Tp & | reference |
| typedef const _Tp & | const_reference |
| typedef _Tp | value_type |
Public Member Functions | |
| StaticAlloc (const StaticAlloc &) ARCANE_NOEXCEPT | |
| template<typename _Tp1> | |
| StaticAlloc (const StaticAlloc< _Tp1 > &) ARCANE_NOEXCEPT | |
| void | construct (pointer __p, const _Tp &__val) |
| void | destroy (pointer __p) |
| pointer | allocate (size_type, const void *=0) |
| void | deallocate (pointer, size_type) |
Static Private Attributes | |
| static _Tp | m_buf [MAX_STATIC_ALLOC] |
| static int | m_buf_index |
Static allocator for profiling.
Since profiling information is managed during interruption and can occur anywhere, standard allocation (new/malloc) must not be used; instead, use a static buffer. NOTE: this allocator is only valid for the ProfilingInfo class and must not be used elsewhere.
Definition at line 160 of file ProfilingInfo.h.
| typedef const _Tp* Arcane::StaticAlloc< _Tp >::const_pointer |
Definition at line 167 of file ProfilingInfo.h.
| typedef const _Tp& Arcane::StaticAlloc< _Tp >::const_reference |
Definition at line 169 of file ProfilingInfo.h.
| typedef ptrdiff_t Arcane::StaticAlloc< _Tp >::difference_type |
Definition at line 165 of file ProfilingInfo.h.
| typedef _Tp* Arcane::StaticAlloc< _Tp >::pointer |
Definition at line 166 of file ProfilingInfo.h.
| typedef _Tp& Arcane::StaticAlloc< _Tp >::reference |
Definition at line 168 of file ProfilingInfo.h.
| typedef size_t Arcane::StaticAlloc< _Tp >::size_type |
Definition at line 164 of file ProfilingInfo.h.
| typedef _Tp Arcane::StaticAlloc< _Tp >::value_type |
Definition at line 170 of file ProfilingInfo.h.
|
inline |
Definition at line 178 of file ProfilingInfo.h.
|
inline |
Definition at line 182 of file ProfilingInfo.h.
|
inline |
Definition at line 187 of file ProfilingInfo.h.
|
inline |
Definition at line 189 of file ProfilingInfo.h.
|
inline |
Definition at line 198 of file ProfilingInfo.h.
|
inline |
Definition at line 191 of file ProfilingInfo.h.
|
inline |
Definition at line 210 of file ProfilingInfo.h.
|
inline |
Definition at line 196 of file ProfilingInfo.h.
|
staticprivate |
Definition at line 219 of file ProfilingInfo.h.
|
staticprivate |
Definition at line 220 of file ProfilingInfo.h.