Please submit a makefile that, as the default, builds your
my-mem.o library. For grading, this will be linked with
various drivers.
Also submit a README file describing how to hook you gauge to
a C program (that uses my_malloc, etc.). If some glue is required
to link your my-mem.o library with your plotting program, please provide
a short ksh script to do this; e.g., 'monitor-mem.ksh a.out'
would run 'a.out' sending memory statistics to your plotting
program.
To submit:
- 1. Add ~cs333/bin to (the beginning of) your path. Running
~cs333/bin/addpath does this.
- 2. Use the submit command:
- Syntax: submit [-l] [assignment-number] [file ...]
- Example: submit 3 makefile my-mem.c gauge.tcl monitor-mem.ksh README
You can check what you have submitted using
submit -l [assignment-number]
Addenda
Test your memory gauge with C programs other than the supplied
driver.c; you might also want to modify driver.c to produce other memory
allocation patterns.
phoenix will be used to grade this assignment. Make sure your my-mem.c
and plotting program work on phoenix before submitting.