A Memory Allocation Profiler for C and Lisp Programs

  • Authors:
  • Benjamin G. Zorn;Paul N. Hilfinger

  • Affiliations:
  • -;-

  • Venue:
  • A Memory Allocation Profiler for C and Lisp Programs
  • Year:
  • 1988

Quantified Score

Hi-index 0.00

Visualization

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.