Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
memory.hpp File Reference
#include <helios/cstring_view.hpp>
#include <helios/profile/profiler.hpp>
#include <optional>
#include <source_location>

Go to the source code of this file.

Namespaces

namespace  helios
namespace  helios::profile

Functions

void helios::profile::Alloc (const void *ptr, size_t size, std::optional< CStringView > name, int depth, std::source_location loc=std::source_location::current()) noexcept
 Profile an allocation of memory.
void helios::profile::Free (const void *ptr, std::optional< CStringView > name, int depth, std::source_location loc=std::source_location::current()) noexcept
 Profile a deallocation of memory.
void helios::profile::MemoryDiscard (CStringView name) noexcept
 Profile memory discard.
void helios::profile::MemoryDiscardS (CStringView name, int depth) noexcept
 Profile memory discard with depth.