本文整理自网络,侵删。
procedure TForm1.FormCreate(Sender: TObject);varstartTime: Cardinal;
beginstartTime := GetTickCount;
Sleep(10);
Label1.Caption := '耗时: ' + (GetTickCount - startTime).ToString;end;
Delphi 计算运行耗时的方法2http://www.delphitop.com/html/shijian/4382.html
相关阅读 >>
Delphi关于tjpegimage的使用(bmp\ jpg格式转换)
python4Delphi 示例应用程序在 Delphi 应用程序中运行简单的 python 脚本
Delphi idhttpserver实现webservice
更多相关阅读请进入《Delphi》频道 >>