RKH
|
Macros for tracing the memory pool execution. More...
Macros | |
#define | RKH_TR_MP_INIT(memPool_, nBlocks_, blockSize_) |
Initializes the previously allocated memory pool data strcuture RKH_MEMPOOL_T. More... | |
#define | RKH_TR_MP_GET(memPool_, nFree_, nMin_) |
Get a memory block from one of the previously allocated memory pool. More... | |
#define | RKH_TR_MP_PUT(memPool_, nFree_) |
When the application is done with the memory block, it must be returned to the appropiate memory pool. The block must be allocated from the same memory pool to which it is returned. More... | |
Macros for tracing the memory pool execution.
#define RKH_TR_MP_INIT | ( | memPool_, | |
nBlocks_, | |||
blockSize_ | |||
) |
Initializes the previously allocated memory pool data strcuture RKH_MEMPOOL_T.
[in] | memPool_ | Memory pool |
[in] | nBlocks_ | Total number of blocks in bytes |
[in] | blockSize_ | Maximum block size in bytes |
Definition at line 88 of file rkhtrc_record.h.
#define RKH_TR_MP_GET | ( | memPool_, | |
nFree_, | |||
nMin_ | |||
) |
Get a memory block from one of the previously allocated memory pool.
[in] | memPool_ | Memory pool |
[in] | nFree_ | Number of free blocks remaining |
[in] | nMin_ | Minimum number of free blocks ever in this pool, i.e. holds the lowest number of free blocks ever present in the pool. |
Definition at line 110 of file rkhtrc_record.h.
#define RKH_TR_MP_PUT | ( | memPool_, | |
nFree_ | |||
) |
When the application is done with the memory block, it must be returned to the appropiate memory pool. The block must be allocated from the same memory pool to which it is returned.
[in] | memPool_ | Memory pool |
[in] | nFree_ | Number of free blocks remaining |
Definition at line 128 of file rkhtrc_record.h.