home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
sysutl
/
timer1.arc
/
TIMER.DOC
next >
Wrap
Text File
|
1987-12-04
|
2KB
|
47 lines
TIMER by Calvin R. Shields
============================
TIMER is a utility that allows you to check execution times, including
time to load and execute, of a program. Unlike other 'timers' available,
TIMER does not 'TSR' and you do not have to manaully start or stop it. To
time a program's execution is as simple as "TIMER programname". TIMER
executes the program for you and, upon completion, will display the total
elapsed time of execution.
Any command may be given to TIMER including DOS's built-in commands such
as COPY or DIR. TIMER always makes an attempt to load and execute the
program itself first and if it fails, as in the case of "TIMER DIR", it
invokes a secondary copy of the command-processor and passes the command to
it for resolution. After the command-processor executes the command, TIMER
displays the results just as if it had executed it!
One note about invoking the secondary command-processor is that doing so
'loses' the initial TIMER command from the keyboard buffer. What this means
is that you will not be able to hit <F3> to repeat the TIMER command on
built-in commands or program not found errors.
For example: TIMER CHKDSK C:/F -- command will remain in key-buffer
TIMER DIR C: -- command will be lost from key-buffer
As a quick example of how you can use TIMER in everyday events, I executed
the command "TIMER EDIT TIMER.DOC" when I started this file. To give you an
ideal of how poorly I type I will exit and find out how long the above text
took to type in. -- BE RIGHT BACK...
Oh, well, slower than I thought; "00:22:53.20" which is about 23 minutes.
I hope you enjoy this utility and use it often. If you find it benifits
you, stick a contribution of $1.00 in an envelope & mail it to me... if you
find any problems with TIMER, jot them down and send them... if you just
want to say hello, please do so... Doing any of these will put your name
on my private mailing list of future utility products.
Enjoy...
Calvin R. Shields
6605 Lure Lane
Louisville, KY 40229
(502) 966-3258