Files
mercury/runtime/CFLAGSFILE
Peter Ross b0edde4d3d Added an option to turn time and call profiling on seperately.
CFLAGSFILE:
	Added an option to turn time and call profiling on seperately.

imp.h:
	Added macro 'update_prof_current_proc'.  Also removed stack
	implementation of time profiling.

engine.mod:
	Added all the init and finish code for time profiling.

label.*:
	Changed option from USE_PROFILING to PROFILE_CALLS

prof.*:
	Added all the neccesary code to do time profiling.
1995-03-13 17:14:51 +00:00

32 lines
969 B
Plaintext

# Use these options for optimizing compiles with cc on munta
# -g -O2 -DSPEED
# Use these options for optimizing compiles with gcc
# -O2 -fomit-frame-pointer -DSPEED
# Use this with gcc if you want to look at the .s files
# -fverbose-asm
# (and add -mrnames for mips register names, if you want)
# use to preserve the cpp output with gcc
# -save-temps
# use to debug gcc's flow analysis
# -dr -df -ds
# Use these options for debugging compiles
-g
# Enable this option if you want to measure the number of times
# each register is used. Note that the measurement includes
# uses which occur inside debugging routines, so to get an accurate
# count you need to disable all the debugging routines by compiling
# with -DSPEED and not using any -d* flags.
# -DMEASURE_REGISTER_USAGE -DSPEED
# Use this option if you want to include call profiling information.
# -DPROFILE_CALLS
# Use this option if you want to include time profiling information.
# -DPROFILE_TIME