• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to count the time for fileupload??  RSS feed

 
J radolf
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

You can simply use the System API get get current time in milliseconds at the start and end of your upload.
 
J radolf
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You so much Sir for your help
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!