MCPcopy Create free account
hub / github.com/Exely/CSAPP-Labs / eval_mm_util

Function eval_mm_util

labs/malloclab/mdriver.c:698–778  ·  view source on GitHub ↗

* eval_mm_util - Evaluate the space utilization of the student's package * The idea is to remember the high water mark "hwm" of the heap for * an optimal allocator, i.e., no gaps and no internal fragmentation. * Utilization is the ratio hwm/heapsize, where heapsize is the * size of the heap in bytes after running the student's malloc * package on the trace. Note that our implemen

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 7

mem_reset_brkFunction · 0.85
mm_initFunction · 0.85
mm_mallocFunction · 0.85
mm_reallocFunction · 0.85
mm_freeFunction · 0.85
mem_heapsizeFunction · 0.85
app_errorFunction · 0.70

Tested by

no test coverage detected