CMSIS-FreeRTOS  
CMSIS-RTOS2 compliant FreeRTOS Implementation

Events generated by heap functions. More...

Functions

void EvrFreeRTOSHeap_Malloc (void *pvAddress, uint32_t uiSize)
 Event on heap memory block allocation (Op) More...
 
void EvrFreeRTOSHeap_Free (void *pvAddress, uint32_t uiSize)
 Event on heap memory block free (Op) More...
 

Description

Events generated by heap functions.

Function Documentation

◆ EvrFreeRTOSHeap_Free()

void EvrFreeRTOSHeap_Free ( void *  pvAddress,
uint32_t  uiSize 
)

Event on heap memory block free (Op)

Parameters
[in]pvAddresspointer to memory block.
[in]uiSizememory block size.

The event Heap_Free is generated when a memory block previously allocated by malloc is deallocated.

Value in the Event Recorder shows:

  • pvAddress : pointer to deallocated memory block.
  • uiSize : memory block size in bytes.

◆ EvrFreeRTOSHeap_Malloc()

void EvrFreeRTOSHeap_Malloc ( void *  pvAddress,
uint32_t  uiSize 
)

Event on heap memory block allocation (Op)

Parameters
[in]pvAddresspointer to memory block.
[in]uiSizememory block size.

The event Heap_Malloc is generated when a heap memory block is successfully allocated.

Value in the Event Recorder shows:

  • pvAddress : pointer to allocated memory block.
  • uiSize : memory block size in bytes.