29 lines
528 B
C
29 lines
528 B
C
#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
|
|
|