Stack usage of ISR callstacks like rtems_clock_tick()

Joel Sherrill Joel.Sherrill at OARcorp.com
Fri Mar 1 19:43:56 UTC 2013


AFAIK no one has computed it but 1K seems like more than enough. You would have the interrupt save frame plus maybe 4-5 methods deep.

Matthew J Fletcher <amimjf at gmail.com> wrote:



Hi,

Has the stack usage of rtems_clock_tick() ever been (roughly) computed at the maximum depth of the callstack ? the BSP's seem to vary quite a bit from 1k to 4k for the interrupt stacks.

A while back i used stackcheck.pl<http://stackcheck.pl> by Dan Kegel, http://www.kegel.com/stackcheck/ it gives you the stack usage of each function, but it would still be quite a bit of effort to add them up to the maximum depth.


regards
---
Matthew J Fletcher

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130301/7ede8be6/attachment.html>


More information about the users mailing list