SYS/BIOS  7.00
Data Fields
HeapMultiBuf_Struct Struct Reference

#include <ti/sysbios/heaps/HeapMultiBuf.h>

Collaboration diagram for HeapMultiBuf_Struct:
Collaboration graph
[legend]

Data Fields

IHeap_Object iheap
 
Queue_Elem objElem
 
bool blockBorrow
 Turn block borrowing on (true) or off (false) More...
 
int numHeapBufs
 
int numBufs
 Number of memory buffers. More...
 
HeapBuf_HandlebufsBySize
 
HeapMultiBuf_AddrPair * bufsByAddr
 

Field Documentation

§ iheap

IHeap_Object HeapMultiBuf_Struct::iheap

§ objElem

Queue_Elem HeapMultiBuf_Struct::objElem

§ blockBorrow

bool HeapMultiBuf_Struct::blockBorrow

Turn block borrowing on (true) or off (false)

With block borrowing on, if there are no blocks available of the requested size, then alloc will look for a larger block to return. Calls to alloc which borrow blocks will be slower, and will cause internal fragmentation of the heap (until the block is freed), so it is ideal to configure a HeapMultiBuf such that block borrowing is not needed.

§ numHeapBufs

int HeapMultiBuf_Struct::numHeapBufs

§ numBufs

int HeapMultiBuf_Struct::numBufs

Number of memory buffers.

The number of different fixed size memory buffers that are managed by the heap instance. The bufParams array has length numBufs.

The default number of buffers is 0.

§ bufsBySize

HeapBuf_Handle* HeapMultiBuf_Struct::bufsBySize

§ bufsByAddr

HeapMultiBuf_AddrPair* HeapMultiBuf_Struct::bufsByAddr

The documentation for this struct was generated from the following file:
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale