* [ECOS] Measuring the interrupt stack usage
@ 2005-05-03 1:52 Andrew Greenberg
2005-05-03 2:03 ` Gary Thomas
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Greenberg @ 2005-05-03 1:52 UTC (permalink / raw)
To: ecos-discuss
Hi all,
I'd like to measure the stack usage on the separate interrupt stack we have
on an ARM7TDMI - but cyg_thread_measure_stack_usage() doesn't seem to work
using the interrupt handle. Probably because it's not a thread, huh? :)
I couldn't find any reference to any existing way to do this... is there an
interrupt stack equivalent to do cyg_thread_measure_stack_usage() ?
Thanks,
Andrew
----------------------------------------------
Andrew Greenberg
Project Manager
Portland State Aerospace Society / PSU AESS
http://psas.pdx.edu/
Home: 503.788.1343
Fax: 503.777.5103
Email: andrew@psas.pdx.edu
----------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] Measuring the interrupt stack usage
2005-05-03 1:52 [ECOS] Measuring the interrupt stack usage Andrew Greenberg
@ 2005-05-03 2:03 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2005-05-03 2:03 UTC (permalink / raw)
To: Andrew Greenberg; +Cc: eCos Discussion
On Mon, 2005-05-02 at 18:52 -0700, Andrew Greenberg wrote:
> Hi all,
>
> I'd like to measure the stack usage on the separate interrupt stack we have
> on an ARM7TDMI - but cyg_thread_measure_stack_usage() doesn't seem to work
> using the interrupt handle. Probably because it's not a thread, huh? :)
>
> I couldn't find any reference to any existing way to do this... is there an
> interrupt stack equivalent to do cyg_thread_measure_stack_usage() ?
Look at the tm_basic code - it has code for this.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-03 2:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-03 1:52 [ECOS] Measuring the interrupt stack usage Andrew Greenberg
2005-05-03 2:03 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).