Results 1 to 4 of 4
- 03-13-2010, 05:08 PM #1
Member
- Join Date
- Dec 2009
- Posts
- 59
- Rep Power
- 0
- 03-13-2010, 05:50 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,385
- Blog Entries
- 7
- Rep Power
- 17
Have you read about the currentTimeMillis() method? Not all OSes give you millisecond accuracy but a good estimation thereof; you can do:
kind regards,Java Code:long start= currentTimeMillis(); // very complicated calculations go here long end= currentTimeMillis(); long duration= end-start;
Jos
- 03-15-2010, 03:39 PM #3
Member
- Join Date
- Dec 2009
- Posts
- 59
- Rep Power
- 0
ok thanks alot
- 03-17-2010, 12:25 AM #4
Similar Threads
-
Help with calculating triangle program
By ALH813 in forum New To JavaReplies: 5Last Post: 10-19-2009, 05:08 AM -
Calculating the Running time
By JordashTalon in forum New To JavaReplies: 2Last Post: 02-13-2009, 10:32 PM -
Need help with calculating the time the user...
By Smirre in forum New To JavaReplies: 8Last Post: 11-20-2008, 01:15 PM -
Program for calculating area and hypotenus in a triangel
By Legoland in forum New To JavaReplies: 4Last Post: 08-12-2008, 01:41 PM -
Calculating the DB connection time
By Java Tip in forum Java TipReplies: 0Last Post: 01-20-2008, 08:55 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks