Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Event log analyzing tool

2005-04-25 by Robert Adsett

At 10:08 PM 4/24/05 -0700, Michael Anburaj wrote:
>Full story:
>I have developed a Event log mechanism to trap various
>events that occur at run-time within the Wireless MAC
>engine I am working on at present. Each log entry
>consists a Event number, system time & (1 to 3
>parameters). I have huge buffers for trapping events
>for a long time & later dump them for analysis over
>the console port - which can be piped into a (ASCII)
>file.

That makes sense I've done similar things for debugging and tuning.

>At present I go through these entries without help of
>any tool near problem areas manually. A simple perl
>script can make things better ­ by calculating the
>delta between each event. It will be even better if I
>can find a utility that can Graphically displays the
>trend for each event & do all the things one can do on
>a LA or a DSO ­ considering each event to a different
>channel on the LA.
>
>Sample EventLog (console dump):
>Event name Time (us) Param1     Param2    Param3
>TX_HW      260040    0x400078   1               0
>TX_FREE    260076    0x400298   0               0
>RX_INT     260082    3          0               0
>ARQ_RE     260123    0x400298   7               23
>
>
>Let me know if such a tool exist.


I don't know of a tool that does exactly what you want.  In the past 
however I've used a couple of off the shelf tools to achieve your 
ends.  I've heavily used spreadsheets for trend analysis, I just dump the 
data as a csv file and import it.  Spreadsheet usually have acceptable if 
not great graphing tools.  It should be fairly straightforward to transform 
your data into a column per event form.

The companion tool would be a database tool that allows ad-hoc queries.  I 
really like Approach for this.  You can make Access do it but it takes more 
work.  You can then filter by event,  time, etc.. and either use the tools 
built-in graphing tools or export the data to a spreadsheet as needed.

The big thing that is missing compared to a DSO is the presence of cursors 
to make it easier to read data directly off of the graph.

If you find something else let us know, I wouldn't mind adding another tool 
like that to my quiver.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.