Recent

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

DelphiFreak

  • Sr. Member
  • ****
  • Posts: 251
    • 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 19.1, Lazarus 2.0, Windows 7&10, Delphi 7, Delphi 10.3 Rio

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1891
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