AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/time/TimeCmd.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Return precise execution time of shell commands
Author: zodiac at darkness.gun.de (Ralph Seichter)
Uploader:seichter informatik uni-bonn de
Type:util/time
Architecture:m68k-amigaos
Date:1995-02-23
Download:util/time/TimeCmd.lha - View contents
Readme:util/time/TimeCmd.readme
Downloads:473

   After the LZX archiver by Data Compression Technologies was released, a
friend of mine phoned me and asked if I know of a tool that can be used to
measure the precise execution time of shell commands. As I didn't know of
such a beast, I decided to write one myself, although I'm quite certain
that there are numerous similar tools out there, somewhere. Anyway, here's
what to do:

       instead of      1> foo opt1 opt2 opt3
       simply type     1> TimeCmd foo opt1 opt2 opt3

   You'll see the output of 'foo' in the shell window, followed by a line
of text like "ยป 4.489200 seconds". Guess what that stands for. :) TimeCmd
uses the timer.device for maximum accuracy, but as this is a multitasking
OS, the results will probably vary. Run TimeCmd several times if you want
to make sure that the measured time interval is as accurate as possible.


Contents of util/time/TimeCmd.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  959    1388  69.1% -lh5- 754b Feb 17  1995 TimeCmd
[generic]                  958    1661  57.7% -lh5- ea16 Feb 17  1995 TimeCmd.doc
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    1917    3049  62.9%            Feb 22  1995
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>