This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Measuring the interrupt stack usage


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]