Zen API

- Home
- Topics
- Types
- Files

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

  object | kPoolAlloc object.
  rank | Memory rank (base-2 logarithm of memory size).

Returns
  Buffer count.