From: Wong TM (H. Deming) <loo...@ma...> - 2000-10-03 12:51:16
|
> -----Original Message----- > From: civ...@li... > [mailto:civ...@li...]On Behalf Of Raimar > Falke > Sent: Tuesday, October 03, 2000 11:37 AM > To: CivLog List > Subject: Re: [Civlog-list] CivLog-0.6.1 > > > On Mon, Oct 02, 2000 at 05:24:15PM +0200, Ulrich Kuhn wrote: > > On Mon, 2 Oct 2000, Raimar Falke wrote: > > > > > On Mon, Oct 02, 2000 at 12:54:09AM +0200, Raimar Falke wrote: > > BTW: Raimar: Your CLTimer may be unprecise on certain platforms. For > > example in windows 9x Java is not able to be more precise than 50 or 60 ms > > when invoking System.currentTimeMillis(). So when repeatedly invoking the > > start and stop methods you may get many 50ms entries where only 100ns is > > used... > > It is more or less a quick hack. It is better than leaving longs all over > the place. I have no control over the time resolution on certain platforms. > However IMHO the code for CLTimer is correct. I afraid on lousy win98 system, it is(the loading) now around 10x slower. Maybe we ask Bill Gate to opensource Win98 and we fix it :) |