[riot-notifications] [RIOT-OS/RIOT] sys/shell: add heap command (#10953)

Sebastian Meiling notifications at github.com
Mon Apr 15 11:27:15 CEST 2019


okay rebased on top of #10934, and it works:

```
> heap
2019-04-15 11:23:09,120 - INFO #  heap
2019-04-15 11:23:09,158 - INFO # heap: 6099 (used 0, free 6099) [bytes]
> malloc 10
2019-04-15 11:23:13,351 - INFO #  malloc 10
2019-04-15 11:23:13,352 - INFO # ptr=0xa05
> heap
2019-04-15 11:23:15,510 - INFO #  heap
2019-04-15 11:23:15,549 - INFO # heap: 6099 (used 12, free 6087) [bytes]
> malloc 20
2019-04-15 11:23:25,997 - INFO #  malloc 20
2019-04-15 11:23:26,003 - INFO # ptr=0xa11
> heap
2019-04-15 11:23:28,403 - INFO #  heap
2019-04-15 11:23:28,441 - INFO # heap: 6099 (used 34, free 6065) [bytes]
free 0xa05
2019-04-15 11:24:06,386 - INFO #  free 0xa05
2019-04-15 11:24:06,386 - INFO # free 0xa05
> heap
2019-04-15 11:24:07,462 - INFO #  heap
2019-04-15 11:24:07,501 - INFO # heap: 6099 (used 24, free 6075) [bytes]
> free 0xa11
2019-04-15 11:25:17,925 - INFO #  free 0xa11
2019-04-15 11:25:17,925 - INFO # free 0xa11
> heap
2019-04-15 11:25:19,115 - INFO #  heap
2019-04-15 11:25:19,152 - INFO # heap: 6099 (used 0, free 6099) [bytes]
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10953#issuecomment-483177761
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190415/30105d67/attachment.html>


More information about the notifications mailing list