home *** CD-ROM | disk | FTP | other *** search
- joel wittenberg
- 26march1987
-
- rtime.doc
-
- This program measures the execution time of a program unde DOS.
- The usage is:
- "rtime program_to_measure program_options program_arguments"
-
- In other words, your normal command line syntax, preceeded by the
- invocation of rtime. Rtime does not eat any of the command line parameters
- intended for the application.
-
- Unfortunately, DOS being what it is, this clean and simple usage of rtime
- fails when you try to time a batch file. In order to time a batch file
- you must spawn a copy of the command line interpreter and pass the batch
- file to it. Thus:
- "rtime command /c batchfile args"
-
- To make it somewhat easier to use I have added an option flag "-b", which
- will cause rtime to invoke the shell itself. Thus:
- "rtime -b batchfile args"
-
- This causes rtime to spawn command.com as the child and to pass to command.com
- a "/c" as the first parameter, "batchfile" as the second parameter, and "args"
- as the subsequent parameters.
-
- Note that rtime options (currently only '-b' exists) must be given as the
- first argument on the command line, BEFORE the child name. All other args
- are passed on to the child unexamined.
-
-
- Feel free to use this program as you wish FOR NON-COMMERCIAL purposes.
-
- All commercial rights reserved
- joel wittenberg
- 26 march 1987
-