This is the mail archive of the ecos-discuss@sourceware.org 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]

Using instrument buffer by applications?


I'm looking into ways to get some sort of event history/log
info out of eCos apps.  I've been looking at the instrument
buffer mechanism that's implimented in the eCos kernel, but it
doesn't really look appropriate.

The main issue is that the timestamp in a log record is the
number of HAL counter ticks since the last system tick. The
only way that value is meaningful is if you have the kernel
configured to instrument system ticks. But, if you do that the
instrument buffer fills up with virtually nothing but 1ms
system ticks.  Even with 10ms system ticks, they're still going
to completely swamp out events that might only happen once
every few minutes.

Has anybody used the instrument buffer scheme to log
application events?

-- 
Grant Edwards                   grante             Yow! CHUBBY CHECKER just
                                  at               had a CHICKEN SANDWICH in
                               visi.com            downtown DULUTH!


-- 
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]