|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
#include <ice/mem_allocator.hxx>
Public Member Functions | |
| AllocatorDebugInfo (std::source_location src_loc, std::string_view name) noexcept | |
| AllocatorDebugInfo (std::source_location const &src_loc, std::string_view name, ice::AllocatorDebugInfo &parent) noexcept | |
| virtual | ~AllocatorDebugInfo () noexcept |
| auto | location () const noexcept -> std::source_location |
| auto | name () const noexcept -> std::string_view |
| auto | allocation_count () const noexcept -> ice::u32 |
| auto | allocation_total_count () const noexcept -> ice::u32 |
| auto | allocation_size_inuse () const noexcept -> ice::usize |
| auto | allocation_size_watermark () const noexcept -> ice::usize |
| void | track_child (ice::AllocatorDebugInfo *child_allocator) noexcept |
| void | remove_child (ice::AllocatorDebugInfo *child_allocator) noexcept |
| auto | parent_allocator () const noexcept -> ice::AllocatorDebugInfo const * |
| auto | child_allocator () const noexcept -> ice::AllocatorDebugInfo const * |
| auto | next_sibling () const noexcept -> ice::AllocatorDebugInfo const * |
Protected Member Functions | |
| void | dbg_count_add () noexcept |
| void | dbg_count_sub () noexcept |
Protected Attributes | |
| std::source_location const | _source_location |
| std::string_view const | _name |
| ice::AllocatorDebugInfo *const | _parent |
| ice::AllocatorDebugInfo * | _children |
| ice::AllocatorDebugInfo * | _next_sibling |
| ice::AllocatorDebugInfo * | _prev_sibling |
| std::atomic< ice::u32 > | _alloc_count |
| std::atomic< ice::u32 > | _alloc_total_count |
| Internal * | _internal |
|
noexcept |
|
noexcept |
|
virtualnoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
protectednoexcept |
|
protectednoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |