home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15970 < prev    next >
Encoding:
Text File  |  1993-01-27  |  712 b   |  20 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!ukma!darwin.sura.net!max.fiu.edu!serss0!sumargoh
  3. From: sumargoh@serss0 (H. Sumargo)
  4. Subject: Finding the execution time of a program.
  5. Organization: Florida International University, Miami
  6. Date: Thu, 28 Jan 1993 00:09:53 GMT
  7. Message-ID: <C1JF4I.zA@fiu.edu>
  8. Sender: news@fiu.edu (Usenet Administrator)
  9. Lines: 9
  10.  
  11. I am trying to calculate the execution time of a program I run.  What C commands
  12. can I use in the program to get the start time and the end time from any points
  13. within the program so as to calculate the execution time?  Is there another way
  14. (easier, faster?) with external UNIX commands?
  15.  
  16. Please reply to: frank@vision.fiu.edu
  17.  
  18. thanks,
  19. Frank Candocia
  20.