feat: add lab-rv32i-freertos-heap-models card
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef K05_HOST_FREERTOS_H
|
||||
#define K05_HOST_FREERTOS_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
typedef struct xHeapStats
|
||||
{
|
||||
size_t xAvailableHeapSpaceInBytes;
|
||||
size_t xSizeOfLargestFreeBlockInBytes;
|
||||
size_t xSizeOfSmallestFreeBlockInBytes;
|
||||
size_t xNumberOfFreeBlocks;
|
||||
size_t xMinimumEverFreeBytesRemaining;
|
||||
size_t xNumberOfSuccessfulAllocations;
|
||||
size_t xNumberOfSuccessfulFrees;
|
||||
} HeapStats_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vPortGetHeapStats( HeapStats_t * stats );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user