mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 15:40:22 +02:00
* remove Windows use
git-svn-id: trunk@2639 -
This commit is contained in:
parent
2c10e841b9
commit
3d0a4da8ff
@ -1,10 +1,10 @@
|
||||
program Bench2;
|
||||
{$APPTYPE CONSOLE}
|
||||
{$Mode Objfpc}
|
||||
{$H+}
|
||||
|
||||
uses
|
||||
sysutils,
|
||||
Windows;
|
||||
sysutils;
|
||||
|
||||
const
|
||||
cTimes = 999999;
|
||||
@ -21,6 +21,16 @@ const
|
||||
'zero', 'ten', 'twenty', 'thirty', 'fourty', 'fifty',
|
||||
'sixty', 'seventy', 'eighty', 'ninety');
|
||||
|
||||
|
||||
function GetTickCount : Cardinal;
|
||||
var
|
||||
h,m,s,s1000 : word;
|
||||
begin
|
||||
decodetime(time,h,m,s,s1000);
|
||||
result:=h*3600000+m*60000+s*1000+s1000;
|
||||
end;
|
||||
|
||||
|
||||
var
|
||||
StartTick: Cardinal;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user