Replied: Tue, 27 Feb 2001 18:43:36 -0500 Replied: "Ahmet Uyar" Return-Path: auyar@csit.fsu.edu Return-Path: Delivered-To: fox@csit.fsu.edu Received: from coconutpalm (unknown [144.174.137.241]) by mailer.csit.fsu.edu (Postfix) with SMTP id 2428A23A05 for ; Tue, 27 Feb 2001 18:39:07 -0500 (EST) Message-ID: <006401c0a116$770ce4a0$f189ae90@csit.fsu.edu> From: "Ahmet Uyar" To: Subject: time precision problem on PC's Date: Tue, 27 Feb 2001 18:39:02 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0061_01C0A0EC.8E123DA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 This is a multi-part message in MIME format. ------=_NextPart_000_0061_01C0A0EC.8E123DA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable It seems that, java when running on PC's does not measure the time = precisely. Time increases by 10ms not 1ms. On the other hand on Unix, it = increases by 1ms. I used the Date class to get the time=20 e.g. new Date().getTime(); Ahmet Uyar Ph.D. candidate Computational Science and Information Technology Florida State University=20 ------=_NextPart_000_0061_01C0A0EC.8E123DA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
It seems that, java when running on = PC's does not=20 measure the time precisely. Time increases by 10ms not 1ms. On the other = hand on=20 Unix, it increases by 1ms.
 
I used the Date class to get the time =
e.g. new Date().getTime();
 
Ahmet Uyar
Ph.D. = candidate
Computational=20 Science and Information Technology
Florida State University=20
------=_NextPart_000_0061_01C0A0EC.8E123DA0--