Function mpool_meta_space

Function Documentation

static inline size_t mpool_meta_space(size_t max_elts)

Get # of bytes needed for space for the mpool nodes.

Parameters:

max_elts – # of desired elements in pool.

Returns:

The # of bytes the application would need to allocate.