Events generated memory functions. More...
Functions | |
void | EvrRtxMemoryInit (void *mem, uint32_t size, uint32_t result) |
Event on memory initialization (Op) | |
void | EvrRtxMemoryAlloc (void *mem, uint32_t size, uint32_t type, void *block) |
Event on memory allocate (Op) | |
void | EvrRtxMemoryFree (void *mem, void *block, uint32_t result) |
Event on memory free (Op) | |
void | EvrRtxMemoryBlockInit (osRtxMpInfo_t *mp_info, uint32_t block_count, uint32_t block_size, void *block_mem) |
Event on memory block initialization (Op) | |
void | EvrRtxMemoryBlockAlloc (osRtxMpInfo_t *mp_info, void *block) |
Event on memory block alloc (Op) | |
void | EvrRtxMemoryBlockFree (osRtxMpInfo_t *mp_info, void *block, int32_t status) |
Event on memory block free (Op) | |
Events generated memory functions.
void EvrRtxMemoryInit | ( | void * | mem, |
uint32_t | size, | ||
uint32_t | result | ||
) |
Event on memory initialization (Op)
[in] | mem | pointer to memory pool. |
[in] | size | size of a memory pool in bytes. |
[in] | result | execution status: 1 - success, 0 - failure. |
The event MemoryInit is generated when initialization of a variable size memory block completes.
Value in the Event Recorder shows:
void EvrRtxMemoryAlloc | ( | void * | mem, |
uint32_t | size, | ||
uint32_t | type, | ||
void * | block | ||
) |
Event on memory allocate (Op)
[in] | mem | pointer to memory pool. |
[in] | size | size of a memory block in bytes. |
[in] | type | memory block type: 0 - generic, 1 - control block. |
[in] | block | pointer to allocated memory block or NULL in case of no memory is available. |
The event MemoryAlloc is generated when allocation of a variable size memory block completes.
Value in the Event Recorder shows:
void EvrRtxMemoryFree | ( | void * | mem, |
void * | block, | ||
uint32_t | result | ||
) |
Event on memory free (Op)
[in] | mem | pointer to memory pool. |
[in] | block | memory block to be returned to the memory pool. |
[in] | result | execution status: 1 - success, 0 - failure. |
The event MemoryFree is generated when deallocation of a variable size memory block completes.
Value in the Event Recorder shows:
void EvrRtxMemoryBlockInit | ( | osRtxMpInfo_t * | mp_info, |
uint32_t | block_count, | ||
uint32_t | block_size, | ||
void * | block_mem | ||
) |
Event on memory block initialization (Op)
[in] | mp_info | memory pool info. |
[in] | block_count | maximum number of memory blocks in memory pool. |
[in] | block_size | size of a memory block in bytes. |
[in] | block_mem | pointer to memory for block storage. |
The event MemoryBlockInit is generated when initialization of a fixed size memory block completes.
Value in the Event Recorder shows:
void EvrRtxMemoryBlockAlloc | ( | osRtxMpInfo_t * | mp_info, |
void * | block | ||
) |
Event on memory block alloc (Op)
[in] | mp_info | memory pool info. |
[in] | block | address of the allocated memory block or NULL in case of no memory is available. |
The event MemoryBlockAlloc is generated when allocation of a fixed size memory block completes.
Value in the Event Recorder shows:
void EvrRtxMemoryBlockFree | ( | osRtxMpInfo_t * | mp_info, |
void * | block, | ||
int32_t | status | ||
) |
Event on memory block free (Op)
[in] | mp_info | memory pool info. |
[in] | block | address of the allocated memory block to be returned to the memory pool. |
[in] | status | extended execution status. |
The event MemoryBlockFree is generated when deallocation of a fixed size memory block completes.
Value in the Event Recorder shows: