home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
utility
/
bnchmark
/
speedom
/
speedom.doc
next >
Wrap
Text File
|
1994-03-21
|
6KB
|
114 lines
Speed-o-meter
=============
"The multitasker's speed gauge"
©1994 DataBasement Software
All Rights Reserved
By Erin Matthew Monaco
Programmed using
Lattice C 5.60 + DevPac III.
This is another S.A.S (Short And Simple) ShareWare product from
DataBasement Software. If you find it useful and use it I'd appreciate
it if you could send the $5 registration fee to me at:
Erin Monaco
35244 Chestnut St.
Wayne, MI 48184
I also accept GEnie Gifts of Time page M080. My GEnie Address is:
E.MONACO
You have the right to copy and distribute this program for a
reasonable PD disk fee. You must insure that distribution is complete
with this document as its the only identification the program carries.
This program is a breeze to use. Just run it using your favorite
method and watch it go! Currently it only operates as a program- it can
not be run as an ACC... yet!
When you run the program you'll be presented with a very small
window. The top line of the window (small text size) is a graphic bar
indicator. The next line simply has three "|"'s and 50 to mark the
half way point. The Graph Bar is a simple percentage indicator. Going
from 1 to 100. With "|" at 25, 50 and 75 Percent marks. This is a
completely visual program with no interaction required. To quit just
close the window. The window can be moved anywhere on screen. This
program gives a visual indicator of how fast your programs are running,
as compared to the optimal speed they could run on your machine.
"OK, the program's under 6K with embedded RSC and all... how does
it know my machine's optimal speed?"
Great question. It doesn't so we need to teach it first. When you
run the program it checks for a file SPEEDOM.CNF. If it finds it it will
load in the 4 Byte value contained in that file. If it doesn't it will
Test your machine's speed 5 times (takes under 10 seconds) and then it
will compute this value and create a SPEEDOM.CNF to the current directory
for you! (Simple) After this is done it will proceed with rating the
application's speed. This was the easiest way I could think of to do
this accurately (mostly) on any machine from 8Mhz, 16Mhz, 32... 64...
a zillion or whatever.
The best way to configure the program is to run it on a BARE system
with nothing else running, no accessories, etc. If you ever choose to
re-calibrate the program, just delete the SPEEDOM.CNF file and run
SPEEDOM to create a new one. You could if you choose configure it from
within Geneva or MultiTos or whatever. But for the most accurate system
performance readings you should configure it with a bare system at the
highest CPU speed (in the case of accelerators, etc) that you can.
"... A fly in the ointment" This program uses the EVT_TIMER vector.
At this time it does not use the XBRA protocol. So any programs run
after SPEEDOM that hook into the EVT_TIMER vector could cease to function
correctly if you exit SPEEDOM before you exit these other programs. I
will add XBRA but I have to get the docs on it first so it will be a
little while, but the program is useable now. If you don't exit it, you
shouldn't have much trouble either.
INTERESTING TIDBITS:
In testing/debugging this program I saw a few neat (disturbing)
things. Configured on a bare system (no warp_9, mouse accelerators etc)
Moving the mouse in a quick circle around the screen seemed to slow
the application by about 20% on my TOS 1.62 ROMS... thats scary! With
WARP_9 I could not detect a slowdown at all!
Running SPEEDOM as a single-task application I averaged around
90% of my normal speed with mouse movements slowing it down by another
5% or so. (Faster you move the mouse, greater the slowdown... this was
with warp_9 on). Defaulting back to multitasking having NeoDesk and
a few accessories I ran two copies of SPEEDOM and got a speed just under
50%. For every copy run after that system speed dropped by only about 5%
or so.
QUICK DISCLAIMER:
By making this program and everything I am not trying to promote
any products (like warp_9, although its well worth it <g>) or pound
any programs (like Geneva... I LOVE Geneva and respect Dan alot for
his accomplishments and GRIBNIF support? Is superb) but no endorsements
from me! <g>
Programs that do not like to surrender control to Geneva/MultiTOS
will not be reflected very well. (If SPEEDOM doesn't get time to work...
then it won't be updated at all!) Also as sorta mentioned above things
such as moving the mouse, clicking on objects and using menus and stuff
will temporarily reduce the application's percentage of code executed.
The graphic bar display is normally updated every second or so. Unless
one of the above mentioned factors prevents this.
I'm no genius. I make mistakes and believe it or not I don't always
know WHAT I'M DOING!!! This program is a perfect example of my
"Winging It". While I believe this program does represent an applications
speed in terms of a percentage of optimal speed fairly accurately, I
could be seriously wrong! In any event it is nice to look at and watch :)
Comments and suggestions are welcomed and appreciated, as are
registrations (hint!) feel free to leave E-mail on GEnie to me at
E.MONACO or send a letter to the above address.
Enjoy! Erin @DataBasement Software.