Forums Register Login

how to count the time for fileupload??

+Pie Number of slices to send: Send
How do i count the time taken for fileupload in my program?

can anyone give me some ideas?

the time can be counted in milliseconds or seconds.

can i use thread logic for this can anyone help.

The fileupload program i wrote is a plain old java program.


+Pie Number of slices to send: Send
Hi there,

You can simply use the System API get get current time in milliseconds at the start and end of your upload.
+Pie Number of slices to send: Send
Thank You so much Sir for your help
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 702 times.
Similar Threads
Calculationg execution time
Counting uppercase?
Using commons-fileupload-1.2.1.jar to upload file to MySQL
mock exam example
count lines of code
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:52:03.