Bins tab

The QNX Neutrino allocator keeps counters for allocations of various sizes to gather statistics about how your application is using heap memory. Blocks with sizes up to each power of two (2, 4, 8, 16, up to 4096) and large blocks (anything over 4 KB) are tracked by these counters.

The Bins tab shows how the values for these counters change over time:

The top chart shows allocation and deallocation counts for each bin, for the time range selected in the bottom chart. Above the bottom chart, in the top left corner of the chart area, there are circles for each bin that allow you to enable or disable the displaying of the blocks count in the bottom chart.

The Bins tab includes these additional buttons:

Because of the logging done for each allocation and deallocation, tracing can be slow and it may change the timing of the application. You might want to do a first pass with the bins snapshots enabled to determine the hot spots for ranges, and on the second pass reduce the tracing to a certain range to filter and reduce the log set.