The HeapPools summary displays a report of the HeapPool statistics
and provides suggested percentages for current cell sizes as well
as suggested cell sizes. Figure 1 shows a sample storage
report generated by __uheapreport().
- Cell Size — the size of the cell specified on the __ucreate()
call
- Cells Per Extent — the cell pool count specified on the
__ucreate() call
- Extents Allocated — the number of times that each pool allocated
an extent in order to optimize storage usage.
- Maximum Cells Used — the maximum number of cells used for
each pool.
- Cells In Use — the number of cells that were never freed.
A
large number in this field could indicate a storage leak.
- Suggested Cell Sizes — sizes that are calculated to optimally
use storage (assuming that the application will __umalloc/__ufree
with the same frequency).
The suggested cell sizes are given with
no cell counts because the usage of each new cell pool size is not
known. If there are less than 12 cell sizes calculated, then the last
pool size is set at 65536.