Link to home
Start Free TrialLog in
Avatar of vlg
vlg

asked on

Simple code to time the execution of a simple program?

Hello all
I have a little java program that goes out to the web and comes back with some info, and I'd like to time how long it takes - from the time I start the program, until it exits, having retrieved the data.
I'm hoping I can just add a few lines into my simple program, maybe getting the system time at the beginning and end of the main function, but I don't know how, so that's what the points are for -  

Thanks

v
ASKER CERTIFIED SOLUTION
Avatar of imladris
imladris
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vlg
vlg

ASKER

that's what i was looking for, thanks