sizeof(RIOT)

Hi,

to get a quick overview of (static) space consumption in RIOT, I prepared some plots:

http://ludwig.spline.inf.fu-berlin.de/default_msba2.jpg http://ludwig.spline.inf.fu-berlin.de/default_msb-430.jpg http://ludwig.spline.inf.fu-berlin.de/default_native.jpg

It's a python script that uses readelf and addr2line to get memory sizes and group them by file. I've added size and path filtering, so only objects > 100 bytes that come from RIOT have been included in the plots above.

I'll clean and share the script in the next few days if nobody (this means you, I wasn't able to find anything) knows of existing software that does this better.

Cheers, Ludwig

Here's some more:

http://ludwig.spline.inf.fu-berlin.de/sixlowpan_msba2.jpg http://ludwig.spline.inf.fu-berlin.de/sixlowpan_native.jpg

http://ludwig.spline.inf.fu-berlin.de/ccnlite_msba2.jpg http://ludwig.spline.inf.fu-berlin.de/ccnlite_native.jpg

OK, that's it for today.

Cheers, Ludwig

Hi Ludwig!

That's great and indeed very helpful. Is it possible to distinguish between functions and objects like arrays?

Cheers, Oleg

Hi,