Epok Engine

EPOK RUNTIME

epok::instrument::allocation::reserve

Function · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function

Performs `reserve` as part of the instrument allocator module.

Belongs to
epok::instrument::allocation
Header
instrument_allocator.hpp
Overloads
1

Declaration

Declaration
inline Plan reserve(const Slot (&slots)[24], const Request& request)

Performs `reserve` as part of the instrument allocator module.

ParameterTypeMeaning
slotsconst Slot (&)[24]Not documented; consult the linked header.
requestconst Request &Not documented; consult the linked header.

Returns: Plan. Consult the linked header for its meaning.

Example sketch

C++ example
#include "instrument_allocator.hpp"

// Assume these named values have been initialized with valid data:
// const Slot (&)[24] slots
// const Request & request

auto result = epok::instrument::allocation::reserve(slots, request);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/instrument_allocator.hpp:35

Related members