Luke,
Thinking about it more are you using NTFS ot FAT partitions?
NTFS has a habbit of splitting files all across the disk.
In either case you are likely to get very different results across machines,
or even the same machine after a Defragmented has been run or after a
reinstall of the software/file copy etc.
Are you trying to optimise the buffer size??
Beware the NTFS uses 512 byte blocks and FAT could be from 1k to 32K logical
blocks.
Myles.
> -----Original Message-----
> From: Luke Pascoe [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, 10 March 2000 10:16
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Timing less than 1ms
>
> 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
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz