!------------------------------------------------------------------------------ ! LINE.DEF - this is a sample SPM definition file for generating a histogram ! by source line number for 2 routines of a program. The program ! must be linked with /TRACE specified. ! ! CMPRS is the name of the program. In a fortran program this would ! be the name specified by the ! ! PROGRAM name ! ! statement at the beginning of the main routine. ! ! MTD_COMPRESS is the name of the 1st routine to generate a histogram for. ! COMPRESS is the 2nd routine to generate a histogram for. ! ... where every you see MTD_COMPRESS & COMPRESS add similar lines ! for each of the routines you want to generate histograms ! for. ! ! CMPRS.EXE is the name of the executable file where the traceback ! information is extracted to figure out the address of each ! of the source lines. !------------------------------------------------------------------------------ define units: program, module, routine, line program CMPRS module MTD_COMPRESS,,,line module COMPRESS,,,line define address: exe "CMPRS.EXE" psect $code define addresses module MTD_COMPRESS module COMPRESS define sampling module MTD_COMPRESS by line module COMPRESS by line end