Re: new Date(), System.currentTimeMillis() and system clock accuracy
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 04 Jul 2008 02:04:54 GMT
On Thu, 3 Jul 2008 18:05:05 -0700 (PDT), Numeron
<irunsofastineedafinonmyhead@xxxxxxxxxxx> wrote, quoted or indirectly
quoted someone who said :
Im having a problem getting a higher resolution than 10ms on my system
clock (on XP) using both the getTime() method in Date and the
currentTimeMillis() method in System to measure the time elapsed
between two points in my code. I wrote this small peice to test this
resolution:
see http://mindprod.com/jgloss/time.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- Follow-Ups:
- Re: new Date(), System.currentTimeMillis() and system clock accuracy
- From: John B. Matthews
- Re: new Date(), System.currentTimeMillis() and system clock accuracy
- References:
- Prev by Date: Re: new Date(), System.currentTimeMillis() and system clock accuracy
- Next by Date: Re: How to create array of hash table with correct types
- Previous by thread: Re: new Date(), System.currentTimeMillis() and system clock accuracy
- Next by thread: Re: new Date(), System.currentTimeMillis() and system clock accuracy
- Index(es):