Make some measurements



next up previous
Next: Investigate Dynamic Storage Up: Assignment 5: Dynamic Storage Previous: Assignment 5: Dynamic Storage

Make some measurements

Using either your cadaver compiler or some other compiler such as gcc, write a program that infers, by doing a series of malloc and free calls, what the implementation of malloc and free is, given that it may or may not be one of the following:

Also, infer the allocation discipline (first-fit, first-fit- with-clock-pointer, best-fit, worst-fit, whatever). Run your program and report the results.



Reader Cs
Wed Nov 1 15:20:56 PST 1995