From: James H H Lampert

"Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx> wrote:
Put in a logging routine to log a session ID,
application point and timestamp to a file.

I'm starting to get some ideas, Joe.

Since the server is mixed-language ILE, with a C main, I'm
thinking of just sending the bottleneck trace data to
STDOUT.

Yeah, sometimes the old ways work best <smile>.  Heck, most of my early
debugging in WebSphere was printing to STDOUT.  I kept having flashbacks to
DEBUG PRINT statements...

One thing escapes me. Maybe I'm just getting old. But I'm
having trouble finding a way to get a timestamp in C
that's any finer than whole-second resolution.

You already got good advice on this.  But don't worry about forgetting;
sometimes the neural hash algorithm is a little flaky.  Sometimes I can't
remember an API I used two weeks ago, and then sometimes I can remember the
entire 8085 assembly language sequence for converting hex data to ASCII (not
today, though - all I can remember today is that it used the ADC opcode).

Joe



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.