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/libmisc/shell/main_mallocinfo.c | |
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 'cpukit/libmisc/shell/main_mallocinfo.c')
-rw-r--r-- | cpukit/libmisc/shell/main_mallocinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/main_mallocinfo.c b/cpukit/libmisc/shell/main_mallocinfo.c index 54c602a6e8..43e988376a 100644 --- a/cpukit/libmisc/shell/main_mallocinfo.c +++ b/cpukit/libmisc/shell/main_mallocinfo.c @@ -37,6 +37,7 @@ static int rtems_shell_main_malloc_info( malloc_info( &info ); rtems_shell_print_heap_info( "free", &info.Free ); rtems_shell_print_heap_info( "used", &info.Used ); + rtems_shell_print_heap_stats( &info.Stats ); } return 0; |