TimeCmd
Return precise execution time of shell commands
Short: Return precise execution time of shell commands
Author: zodiac@darkness.gun.de (Ralph Seichter)
Uploader: seichter informatik uni-bonn de
Type: util/misc
Architecture: m68k-amigaos
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.
Gratis
Desde el Amiga: abre Hangar y busca TimeCmd.
| Autor | zodiac@darkness.gun.de (Ralph Seichter) |
|---|---|
| Categoría | util/time |
| Tamaño | 2 KB |
| Para | m68k-amigaos |
| Origen | Aminet |