[ECOS] Question about Instrumentation? Thanks

Qiang Huang jameshq@liverpool.ac.uk
Wed Mar 26 16:17:00 GMT 2003


I am so sorry to bother you again. how can I make sure the macro
CYG_INSTRUMENT_CLOCK(ISR,0,0) in the isr function expands to something
useful? via the linked program so how can I look inside it? or...?
(CYGDBG_KERNEL_INSTRUMENT_CLOCK has been enabled already) Thanks a lot.

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Andrew Lunn
Sent: 26 March 2003 15:22
To: Qiang Huang
Cc: Andrew Lunn; Ecos-Discuss
Subject: Re: [ECOS] Question about Instrumentation? Thanks


On Wed, Mar 26, 2003 at 03:11:23PM -0000, Qiang Huang wrote:
> Thanks a lot. Now I tried to instrument the clock tick as well but I got
> some problem. I configured the ecos with instrument support and used the
> following program, but the output didn't contains the clock tick. shown in
> below thanks a lot.


Check you have not disabled this class in the CDL. To be really sure,
compile packages/kernel/current/src/common/clock.cxx with -E and make
sure the macro CYG_INSTRUMENT_CLOCK( ISR, 0, 0); in the isr function
expands to something useful.

        Andrew

--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list