Joerg Wunsch wrote:
> Nope.  The usual way is to fill in the pattern by a time when there's
> no stack yet at all, i. e. within the .initX sections, before calling
> (or jumping to) main().
> 
This would be a good method to analyze the total amount of RAM used by an
application, but it has a few drawbacks:
 * it can only measure the RAM footprint of the whole application
 * the device must be restarted several times to get good figures
 * special initialization code is required
 * special analysis code is required

I intend to measure only the memory footprint of some function and in this
special case there is no heap memory used by the functions.

Best regards,
  Daniel


Attachment: signature.asc
Description: PGP signature

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to