home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / pascal / 4598 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  967 b 

  1. Path: sparky!uunet!usc!sdd.hp.com!wupost!uwm.edu!bionet!ucselx!crash!tech
  2. From: tech@crash.cts.com (Don Bontemps)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Standard pascal question...
  5. Message-ID: <1992Jul29.044917.22804@crash.cts.com>
  6. Date: 29 Jul 92 04:49:17 GMT
  7. References: <151c6vINN1d9@scout.ksu.ksu.edu>
  8. Organization: CTS Network Services (crash, ctsnet), El Cajon, CA
  9. Lines: 11
  10.  
  11. In article <151c6vINN1d9@scout.ksu.ksu.edu> misra@scout.ksu.ksu.edu (Boo!) writes:
  12. >
  13. >    I hope some of you can help me out here. I am writting some sorting
  14. >routines and i would like to time how long it takes the program to sort
  15. >Is there any function in TP5.5 that will allow me to do this? Like 
  16. >print the time of start and finish..?? Thanks.. alot.. take care.. 
  17.  
  18. Well you already suggested the answer.  Read the system clock before
  19. and after your routine.  The difference between the two will be your
  20. sort time.  This method is not the most accurate but it sure it the
  21. easiest.
  22.