[riot-notifications] [RIOT-OS/RIOT] cpu/msp430_common: add real malloc/free functions (#10944)

Gunar Schorcht notifications at github.com
Sat Mar 23 13:23:04 CET 2019

@jcarrano I have added `irq_disable`/`irq_restore` arround critical sections. This increases the code size by 44 byte.

Furthermore, I used `tests/malloc` to measure the time taken by 'malloc' and 'free' to estimate how long interrupts are disabled. Both of them take around 25 us. IMHO, an acceptable time. However, `tests/malloc` allocates memory of the same size, so the time these functions require might differ as the heap becomes more and more fragmented.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190323/f28494fc/attachment.html>

More information about the notifications mailing list