Function multififo_meta_space

Function Documentation

static inline size_t multififo_meta_space(size_t elt_size, size_t n_children)

Calculate the # of bytes needed for all child shadow FIFOs to point into elements in multififo::root .

Parameters:
  • elt_size – Sizeof root FIFO elements in bytes.

  • n_children – # of shadow child FIFOs.

Returns:

The total # of bytes the application would need to allocate.