Kontorotsui wrote:
> 
> Hello,
>         I hope this is not OT.
> 
> I have a Java distributed application that works on a network of Linux PCs.
> Is there a way to tell, at the end of the computation, how much time was spent
> for each method (of course I mean on the local istance of the program)?
> Something like...
> 
> method update() was called 24311 times, which took 2869.23 ms (2% of the
>   program execution time)

If you've moved to the new JDK1.2, you'll find new profiling
functionality, -Xrunhprof, that begins to address that problem. I just
recently wrote a perl-based tool that massages the profiling output into
something more useful. I'm planning to publish the tool this weekend;
stay tuned.

Nathan


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to