> You can also use TDateTime, but if the clock on your computer is
changed
> during time-measuring, you would get the wrong values.
Which is a very good reason for not using it! And all the floating
point arithmetic and conversion from system time is much slower.
QueryPerformanceCounter can b
Angus Robertson - Magenta Systems Ltd wrote:
>> I am unfamiliar with GetTickCount. Is that an API or something?
>
> it also wraps after 49 days, so
> some care is needed for applications that run longer without a reboot.
For calculating ticks elapsed I use this function:
function CalcTicksAppar
> GetTickCount returns milliseconds since Windows booted. It's
> a core Windows API used for most application timing, although
> it only has a resolution of about 20ms (I think), it also
> wraps after 49 days, so
> some care is needed for applications that run longer without
> a reboot.
>
> I am unfamiliar with GetTickCount. Is that an API or something?
GetTickCount returns milliseconds since Windows booted. It's a core
Windows API used for most application timing, although it only has a
resolution of about 20ms (I think), it also wraps after 49 days, so
some care is needed fo
erbyte.be
- Original Message -
From: "G. M. Faggiano" <[EMAIL PROTECTED]>
To:
Sent: Thursday, September 01, 2005 3:58 AM
Subject: [twsocket] Download time
> Hello,
>
> I'm trying to write a little app that downloads a file from my server
at
> regular int
ompute the mean
thruput during those 15
seconds.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "G. M. Faggiano" <[EMAIL PROTECTED]>
To:
Sent: Thursday, September 01, 2005 3:58 AM
Subject: [twsocket] Download time
> Hello,
>
> I'
- Original Message -
From: "G. M. Faggiano" <[EMAIL PROTECTED]>
To:
Sent: Thursday, September 01, 2005 2:58 AM
Subject: [twsocket] Download time
> Hello,
>
> I'm trying to write a little app that downloads a file from my server at
> regular in
Hello,
I'm trying to write a little app that downloads a file from my server at
regular intervals and tells me what my true connection speed is.
I'm doing this because I use a broadband connection through my lan. So,
I have no real way to check my current speed without going to one of
those onli