Contents

struct

SushiAI::Graph::Arena

One allocation the plan asks for, and what it holds.

Declared in
include/SushiAI/graph/memory_plan.hpp

Public attributes

Lifetime lifetime = Lifetime::ACTIVATION

The lifetime class every value in this arena belongs to.

std::size_t bytes = 0

How many bytes to allocate.

std::size_t buffers = 0

How many distinct buffers were packed into it.

std::size_t unpacked_bytes = 0

What those buffers would have cost one allocation each.