2013-06-27 16:16:57 +02:00
|
|
|
/*
|
|
|
|
* sc_heap.c - the handler of the heap state on the command shell.
|
2013-09-05 12:41:43 +02:00
|
|
|
*
|
2013-06-27 16:16:57 +02:00
|
|
|
* Copyright (C) 2013 Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
|
|
|
|
*
|
2013-08-06 16:36:37 +02:00
|
|
|
* The source code is licensed under the LGPLv2 license,
|
|
|
|
* See the file LICENSE for more details.
|
2013-06-27 16:16:57 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @internal
|
2013-08-06 16:36:37 +02:00
|
|
|
* @brief Show the heap state for the LPC2387 on the command shell.
|
2013-06-27 16:16:57 +02:00
|
|
|
*
|
2013-08-06 16:36:37 +02:00
|
|
|
* @author Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
|
2013-06-27 16:16:57 +02:00
|
|
|
*
|
2013-09-05 12:41:43 +02:00
|
|
|
* @note $Id: sc_heap.c 3855 2013-09-05 12:40:11 kasmi $
|
2013-06-27 16:16:57 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
extern void heap_stats(void);
|
|
|
|
|
2014-02-21 19:10:24 +01:00
|
|
|
void _heap_handler(int argc, char **argv)
|
2013-09-05 12:41:43 +02:00
|
|
|
{
|
2014-02-21 19:10:24 +01:00
|
|
|
(void) argc;
|
|
|
|
(void) argv;
|
|
|
|
|
2013-08-06 16:36:37 +02:00
|
|
|
heap_stats();
|
2013-06-27 16:16:57 +02:00
|
|
|
}
|