The mi_get_duration_size() function

The mi_get_duration_size() function returns the TOTAL pool size of the specified memory duration.

Syntax

mi_integer MI_PROC_EXPORT
mi_get_duration_size(MI_MEMORY_DURATION md)
md
The specified memory duration.
Valid in client LIBMI application? Valid in user-defined routine?
No Yes

Usage

The mi_get_duration_size() function lets you determine the size of a memory pool.

Return value

size
The size of the memory pool.