The times that GetTickCount is returning is in the range 1-5ms.
Averaging such small ammounts isn't accurate enough.
As a side note, this is for an MD5Sum method that has a variable buffer size
(useful when faced with the differing access times of CDRom vs HDD)
If anyone wants it (free, with source) fell free to email me.
> If your only testing, you could just repeat the test x times, and then
> divide the getTickCount interval by x.
>
>
> -----Original Message-----
> From: Matthew Comb [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 10 March 2000 10:57
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Timing less than 1ms
>
>
> I believe gettickcount is not that accurate close to 50 milliseconds or
> something. Timegettime in mmsystem is far more accurate but still may not
> give you the accuracy that you need.
>
> Cheers,
>
> Matt.
> ----- Original Message -----
> From: "Luke Pascoe" <[EMAIL PROTECTED]>
> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
> Sent: Friday, March 10, 2000 8:39 AM
> Subject: [DUG]: Timing less than 1ms
>
>
> > I'm timing some disk access, and I need a division of time less than 1
> > millisecond (GetTickCount)
> >
> > Is there any way to do this?
> >
> > Luke Pascoe
> > Programming
> > Ihug
> >
>
> --------------------------------------------------------------------------
> -
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> >
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz