Kagome
Polkadot Runtime Engine in C++17
memory_allocator.hpp File Reference
#include <map>
#include <unordered_map>
#include <optional>
#include "common/literals.hpp"
#include "log/logger.hpp"
#include "primitives/math.hpp"
#include "runtime/types.hpp"
Include dependency graph for memory_allocator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kagome::runtime::MemoryAllocator
 
struct  kagome::runtime::MemoryAllocator::MemoryHandle
 

Namespaces

 kagome::runtime
 

Functions

template<typename T >
static constexpr T kagome::runtime::roundUpAlign (T t)
 

Variables

constexpr uint8_t kagome::runtime::kAlignment = sizeof(size_t)
 
constexpr size_t kagome::runtime::kDefaultHeapBase
 

Class Documentation

struct kagome::runtime::MemoryAllocator::MemoryHandle

Definition at line 47 of file memory_allocator.hpp.

Collaboration diagram for kagome::runtime::MemoryAllocator::MemoryHandle:
Class Members
function< size_t()> getSize
function< void(size_t)> resize