Profiling under UNIX by Patching



Bibliographic Information


Profiling under UNIX is done by inserting counters into programs either before compiling, during compiling, or during assembly. A fourth type of profiling involves monitoring the execution of a program, and gathering relevant statistics during the run. This paper looks at this method and an implementation of it, and discusses its advantages and disadvantages.

Copyright Notice

©1987 by John Wiley & Sons, Ltd.. The definitive version was published in Software—Practice and Experience 17(10), Oct. 1987 and is available at 10.1002/spe.4380171006.