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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER