Skip to content

Engine → Core → allocation_counters.h

memory::memory_snapshot

Syntax

struct memory_snapshot

Variables

AccessNameTypeDefaultDescription
publicallocatedBytesu640
publicallocationCountu640
publicfreeCountu640

Functions

Public

live_count

[[nodiscard]] constexpr u64 live_count() const noexcept;

Allocations that have not been freed yet (allocationCount - freeCount).

Operator Overloads

Public

operator==

[[nodiscard]] constexpr bool operator==(
    const memory_snapshot &) const noexcept = default;