Sign in Join
FPDoc Onlineexperiment

GetMsCount function

In unit Dos

Number of milliseconds since a starting point.

Declaration

pascal
function GetMsCount: Int64

Description

GetMSCount returns a number of milliseconds elapsed since a certain moment in time. This moment in time is implementation dependent. This function is used for timing purposes: Subtracting the results of 2 subsequent calls to this function returns the number of milliseconds elapsed between the two calls.

This call is not very reliable, it is recommended to use some system specific calls for timings.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.