Internet Direct (Indy) Version 9.0.2 Beta
GetTickCount
Retrieves the number of milliseconds since the computer was started.

function GetTickCount: Cardinal;
Returns
Cardinal - Number of milliseconds (ticks).

Description
GetTickCount is a Cardinal function used to retrieve the number of milliseconds since the computer was started.

GetTickCount is often used when calculating the response times for Indy components such as TIdEcho and TIdTime.

GetTickCount encapsulates the platform-specific calls necessary to provide a high resolution timer for fixed duration events. On the Windows platform, the function used is Windows.GetTickCount. On the Linux platform, GetTickCount uses the library function clock adjusted to thousandths of CLOCKS_PER_SECs.