Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kSize kPoolAlloc_BufferCountAt ( kPoolAlloc  object,
kSize  rank 
)

Reports the total number of memory buffers at the given rank.

This function reports the total number of buffers, including buffers currently in use (allocated via kAlloc_Get and not yet freed) and buffers cached for later use.

Parameters
objectkPoolAlloc object.
rankMemory rank (base-2 logarithm of memory size).
Returns
Buffer count.