Recent

Author Topic: Measure execution speed of a method.  (Read 4477 times)

DelphiFreak

  • Sr. Member
  • ****
  • Posts: 259
    • Fresh sound.
Measure execution speed of a method.
« on: February 19, 2011, 05:08:37 am »
Hi,

I sometimes use GetTickCount to measure the execution speed of a method.
What's the recommended equivalent in Lazarus?

Thanks.
Linux Mint 22, Lazarus 4.0, Windows 11, Delphi 12 Athens, Delphi 13 Florence

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1933
Re: Measure execution speed of a method.
« Reply #1 on: February 19, 2011, 09:58:55 am »
GetTickCount in LCLIntf

uses LCLIntf;  

or EpikTimer http://theseus.sourceforge.net/fpclaz/index.html
« Last Edit: February 19, 2011, 10:04:24 am by theo »

 

TinyPortal © 2005-2018