This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Measuring the interrupt stack usage
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Andrew Greenberg <andrew at uad dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 02 May 2005 20:03:06 -0600
- Subject: Re: [ECOS] Measuring the interrupt stack usage
- References: <5.2.1.1.2.20050502184421.0360e8c0@mail.speakeasy.net>
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