Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.pascal.borland    |    Borland Pascal was actually pretty neat    |    2,978 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,505 of 2,978    |
|    Marco van de Voort to t_singh55@hotmail.co.uk    |
|    Re: timing pascal code(actuall wall cloc    |
|    10 Apr 05 08:43:30    |
   
   From: marcov@stack.nl   
      
   On 2005-04-09, t_singh55@hotmail.co.uk wrote:   
   > hi,   
   > how can i time some pascal code to millisec accuracy? i know about   
   > GetTime(not accurate enough) and Turbo Profiler(does not give me wall   
   > clock time), however none of these 2 satisfy my needs.   
   > basicaly i want to do the following:   
   >   
   > start timer   
   > for i = 0 to 5000 do   
   > do stuff   
   > stop timer   
   >   
   > totalTime := stop - start   
      
   Dos only has 18.2ms. For more precise timing you will have to reprogram   
   timer hardware. Search for "zentimer turbo pascal" or so   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca