[ sisc-Feature Requests-1495529 ] profiling library

"SourceForge.net" <[email protected]> Fri, 26 May 2006 06:37:46 -0700
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Feature Requests item #1495529, was opened at 2006-05-26 14:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379537&aid=1495529&group_id=23735

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 3
Submitted By: Matthias Radestock (mradestock)
Assigned to: Nobody/Anonymous (nobody)
Summary: profiling library

Initial Comment:
It would be nice to have some easy way of profiling
Scheme code, collecting information about call counts
and execution times.

I envisage something along the lines of the current
tracing facilities, perhaps even combined with it, plus
two additional functions: one to extract the collected
profiling information in some sensible form, and one to
clear the profiling information.

This shouldn't take more than a few hours to implement.

There is one difficulty: getting accurate timing. The
JDK s <1.5 only supports millisecond resolution. JDK1.5
has System.nanoTime(). Since we want to be 1.3
compatible, we could write the code in a way that uses
nanosecond timing when System.nanoTime() is available,
and millisecond timing otherwise.

Also, ideally we'd want to get CPU time rather than
elapsed time, but that is hard.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379537&aid=1495529&group_id=23735


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642