diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-27 13:25:22 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-28 13:09:07 +0100 |
commit | 2c3c657625f5129e3062058a2c83f0020fd6bab5 (patch) | |
tree | 1b6b2a5b125d4dffc1268768bc067f021c35a412 /cpukit/score/include/rtems/score/heap.h | |
parent | libcsupport: Delete malloc statistics (diff) | |
download | rtems-2c3c657625f5129e3062058a2c83f0020fd6bab5.tar.bz2 |
score: Return heap stats via _Heap_Get_information
Print out heap statistics via the MALLOC and WKSPACE shell commands.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/heap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/heap.h b/cpukit/score/include/rtems/score/heap.h index 0120a2bb14..6042a13bf2 100644 --- a/cpukit/score/include/rtems/score/heap.h +++ b/cpukit/score/include/rtems/score/heap.h @@ -313,7 +313,7 @@ typedef struct { uint32_t searches; /** - * @brief Total number of suceessful calls to free. + * @brief Total number of successful calls to free. */ uint32_t frees; @@ -366,6 +366,7 @@ typedef struct { typedef struct { Heap_Information Free; Heap_Information Used; + Heap_Statistics Stats; } Heap_Information_block; /** |