Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
A Memory Allocation Profiler for C and Lisp ProgramsFebruary 1988
1988 Technical Report
Publisher:
  • University of California at Berkeley
  • Computer Science Division 571 Evans Hall Berkeley, CA
  • United States
Published:16 February 1988
Reflects downloads up to 10 Oct 2024Bibliometrics
Skip Abstract Section
Abstract

This paper describes inprof, a tool used to study the memory allocation behavior of programs. mprof records the amount of memory each function allocates, breaks down allocation information by type and size, and displays a program''s dynamic cal graph so that functions indirectly responsible for memory allocation are easy to identify. mprof is a two-phase tool. The monitor phase is linked into executing programs and records information each time memory is allocated. The display phase reduces the data generated by the monitor and displays the information to the user in several tables. mprof has been implemented for C and Kyoto Common Lisp. Measurements of these implementations are presented.

Contributors
  • Microsoft Research
  • University of California, Berkeley

Recommendations