HS> If you ask me, djgpp is good at optimizing.
NS> Pretty good is right! Its also great for profiling. Sometime omit the
NS> -s and -fomit-frame-pointer switched, add in -pg (Assuming you have
NS>gprof
NS>which comes with DJGPP) and execute your program. This will kick out a
NS>dump
NS>to a file, then run gprof | more or redirect output to
NS>a
NS>file, and you can see all kinds of stuff, how many times a function is
NS>executed, how long it took, etc, alot better then the big beastly
NS>confusing
NS>Turbo Profiler if you ask me.
Thanks for the tips, I didn't even notice the profiler.
... A program is used to turn data into error messages.
--- Ezycom V1.48g0 01fd016b
---------------
* Origin: Fox's Lair BBS Bris Aus +61-7-38033908 V34+ Node 2 (3:640/238)
|