Engine → Core → allocation_counters.h
memory::memory_snapshot
| Type | Struct |
| Namespace | conjure::core::memory |
| Include File Path | engine/include/conjure/core/memory/allocation_counters.h |
| Source File Path | engine/src/core/memory/allocation_counters.cpp |
| API ↗ | Memory |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | allocated | u64 | 0 | |
| public | allocation | u64 | 0 | |
| public | freeCount | u64 | 0 |
Functions
Public
live_count
live_count[[nodiscard]] constexpr u64 live_count() const noexcept;Allocations that have not been freed yet (allocationCount - freeCount).
Operator Overloads
Public
operator==
operator==[[nodiscard]] constexpr bool operator==(
const memory_snapshot &) const noexcept = default;