Time a function: Difference between revisions

Content added Content deleted
No edit summary
Line 967: Line 967:
{{works with|Delphi|6.0}}
{{works with|Delphi|6.0}}
{{libheader|SysUtils,StdCtrls}}
{{libheader|SysUtils,StdCtrls}}
[[File:DelphiTimerObject.png|frame|none]]
Here is a simple timer object that I use time different parts of the code and figure out which parts take the most time and are targets for optimization.
Here is a simple timer object that I use time different parts of the code and figure out which parts take the most time and are targets for optimization.


Line 1,046: Line 1,047:


</pre>
</pre>



=={{header|E}}==
=={{header|E}}==