RKH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Traces of memory pool services

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...
 

Detailed Description

Macros for tracing the memory pool execution.

Macro Definition Documentation

#define RKH_TR_MP_INIT (   memPool_,
  nBlocks_,
  blockSize_ 
)
Value:
RKH_TRC_BEGIN_WOAOSIG(RKH_TE_MP_INIT) \
RKH_TRC_SYM(memPool_); \
RKH_TRC_NBLK(nBlocks_); \
RKH_TRC_BSIZE(blockSize_); \
#define RKH_TE_MP_INIT
Initializes the previously allocated memory pool data strcuture RKH_MEMPOOL_T.
#define RKH_TRC_BSIZE(bs)
#define RKH_TRC_NBLK(nb)
#define RKH_TRC_END()
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.

Initializes the previously allocated memory pool data strcuture RKH_MEMPOOL_T.

Description
Initialize a memory block pool
Group
RKH_TG_MP
EventID
RKH_TE_MP_INIT
Parameters
[in]memPool_Memory pool
[in]nBlocks_Total number of blocks in bytes
[in]blockSize_Maximum block size in bytes

Definition at line 86 of file rkhtrc_record.h.

#define RKH_TR_MP_GET (   memPool_,
  nFree_,
  nMin_ 
)
Value:
RKH_TRC_SYM(memPool_); \
RKH_TRC_NBLK(nFree_); \
RKH_TRC_MP_NMIN(nMin_); \
#define RKH_TE_MP_GET
Get a memory block from one of the previously allocated memory pool.
#define RKH_TRC_END_NOCRIT()
#define RKH_TRC_NBLK(nb)
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)

Get a memory block from one of the previously allocated memory pool.

Description
Get a block from the pool
Group
RKH_TG_MP
EventID
RKH_TE_MP_GET
Parameters
[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 108 of file rkhtrc_record.h.

#define RKH_TR_MP_PUT (   memPool_,
  nFree_ 
)
Value:
RKH_TRC_SYM(memPool_); \
RKH_TRC_NBLK(nFree_); \
#define RKH_TRC_END_NOCRIT()
#define RKH_TRC_NBLK(nb)
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.
#define RKH_TE_MP_PUT
When the application is done with the memory block, it must be returned to the appropiate memory pool...
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)

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.

Description
Put the block to the pool
Group
RKH_TG_MP
EventID
RKH_TE_MP_PUT
Parameters
[in]memPool_Memory pool
[in]nFree_Number of free blocks remaining

Definition at line 126 of file rkhtrc_record.h.