1. Computing & Technology

Discuss in my forum

in Timing Code :: In most "normal" database applications, for example, it is not that much important if some piece of code would take 1 or 2 seconds to execute.

What about when you need to process millions of tree leafs or generate zillions of unique random numbers? In such scenarios it is important that your code executes as much fast as possible.

How do you measure "fast"?

Read the full article to learn how to Accurately Measure Elapsed Time Using High-Resolution Performance Counter

Related:

Comments
March 24, 2010 at 9:24 pm
(1) i7i says:

this is not infoming enogh about elapsed time

June 13, 2011 at 12:31 pm
(2) Silver Warior says:

Acording to MSDN this method of measurment can be inacurate due to some bugs. More on this matter on:
http://msdn.microsoft.com/en-us/library/ms644904(v=vs.85).aspx

June 13, 2011 at 1:40 pm
(3) duriel says:
June 16, 2011 at 2:03 pm
(4) Wesley Luan says:

Isn’t something wrong in the function Format that it’s in the Function GetElapsed ?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Related Searches delphi timer high performance

©2012 About.com. All rights reserved.

A part of The New York Times Company.