<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<pre style="word-wrap:break-word; font-size:10.0pt; font-family:Tahoma; color:black">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@gmail.com> wrote:

</pre>
<div>Hi,<br>
<br>
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.<br>
<br>
A while back i used <a href="http://stackcheck.pl">stackcheck.pl</a> by Dan Kegel,
<a href="http://www.kegel.com/stackcheck/">http://www.kegel.com/stackcheck/</a> 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.<br clear="all">
<br>
<div><br>
regards</div>
<div>---</div>
<div>Matthew J Fletcher</div>
<br>
</div>
</body>
</html>