ReXGlue SDK
Loading...
Searching...
No Matches
host.h File Reference
#include <array>
#include <cstddef>
#include <rex/platform.h>
#include <rex/types.h>

Go to the source code of this file.

Classes

struct  rex::memory::TagStats
struct  rex::memory::HostStats
class  rex::memory::TagScope

Namespaces

namespace  rex
namespace  rex::memory

Enumerations

enum class  rex::memory::Tag : u8 { rex::memory::kCore = 0 , rex::memory::kThirdParty = 1 }

Functions

void * rex::memory::HostAlloc (size_t size, size_t align=0) noexcept
void rex::memory::HostFree (void *ptr, size_t size=0, size_t align=0) noexcept
size_t rex::memory::HostSize (const void *ptr) noexcept
HostStats rex::memory::GetHostStats () noexcept
void rex::memory::SetAllocStackDepth (i32 depth) noexcept
i32 rex::memory::GetAllocStackDepth () noexcept
Tag rex::memory::GetThreadTag () noexcept
const char * rex::memory::GetTagName (Tag tag) noexcept
void rex::memory::SetTagName (Tag tag, const char *name) noexcept

Variables

constexpr size_t rex::memory::kMaxTags = 16

Detailed Description

License
BSD 3-Clause License See LICENSE file in the project root for full license text.