home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / util / time / TimeCmd.readme < prev    next >
Encoding:
Text File  |  1995-04-27  |  1.4 KB  |  31 lines

  1. Short:    Return precise execution time of shell commands
  2. Author:   zodiac@darkness.gun.de (Ralph Seichter)
  3. Uploader: seichter@informatik.uni-bonn.de
  4. Type:     util/misc
  5.  
  6.    After the LZX archiver by Data Compression Technologies was released, a
  7. friend of mine phoned me and asked if I know of a tool that can be used to
  8. measure the precise execution time of shell commands. As I didn't know of
  9. such a beast, I decided to write one myself, although I'm quite certain
  10. that there are numerous similar tools out there, somewhere. Anyway, here's
  11. what to do:
  12.  
  13.        instead of      1> foo opt1 opt2 opt3
  14.        simply type     1> TimeCmd foo opt1 opt2 opt3
  15.  
  16.    You'll see the output of 'foo' in the shell window, followed by a line
  17. of text like "ยป 4.489200 seconds". Guess what that stands for. :) TimeCmd
  18. uses the timer.device for maximum accuracy, but as this is a multitasking
  19. OS, the results will probably vary. Run TimeCmd several times if you want
  20. to make sure that the measured time interval is as accurate as possible.
  21.  
  22.  
  23. ============================= Archive contents =============================
  24.  
  25. Original  Packed Ratio    Date     Time    Name
  26. -------- ------- ----- --------- --------  -------------
  27.     1388     959 30.9% 17-Feb-95 16:47:38  TimeCmd
  28.     1661     958 42.3% 17-Feb-95 16:46:58  TimeCmd.doc
  29. -------- ------- ----- --------- --------
  30.     3049    1917 37.1% 22-Feb-95 20:49:42   2 files
  31.