Dataflow Runtime API  3.1.1.0
Static Public Member Functions | Static Public Attributes | List of all members
imt::base::dff::runtime::RuntimeStackPools Class Reference

Holds the internal stack for all executables. More...

#include <Imt.Base.Dff.Runtime/RuntimeStackPools.h>

Static Public Member Functions

static uint8_treserve (const size_t size)
 Reserve given size of stack. More...
 
static bool hasRemaining (const size_t size)
 Checks if given size has enough space. More...
 

Static Public Attributes

static const size_t STACK_SIZE = imt::base::dff::runtime::STACKPOOL_SIZE
 

Detailed Description

Holds the internal stack for all executables.

RuntimeStackPool manages also the individual stack for a single executable. For that given size must be reserved for an executable.

Note
This component is optional and only used for OS dependent runtimes like EmbOS. Therefore the SourceDeployment implementation should only be added when necessary.

Member Function Documentation

◆ hasRemaining()

static bool imt::base::dff::runtime::RuntimeStackPools::hasRemaining ( const size_t  size)
static

Checks if given size has enough space.

Parameters
sizeto check in bytes

◆ reserve()

static uint8_t* imt::base::dff::runtime::RuntimeStackPools::reserve ( const size_t  size)
static

Reserve given size of stack.

Parameters
sizeto reserve stack in bytes
Returns
pointer to start address of stack

Member Data Documentation

◆ STACK_SIZE

const size_t imt::base::dff::runtime::RuntimeStackPools::STACK_SIZE = imt::base::dff::runtime::STACKPOOL_SIZE
static

The documentation for this class was generated from the following file: