title: How to calculate elapsed time of a function?
body: <p>I would like to know how to calculate the time consumed for a function in Delphi.</p>
  
  <p>Then I wanted to show the used time and compare it with another function or component so as to know the faster function.</p>