Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
traces
.csim_results
.marker Finish Cache Lab Part B, full point! Nov 19, 2017
Makefile init cache lab Nov 9, 2017
README init cache lab Nov 9, 2017
cachelab.c init cache lab Nov 9, 2017
cachelab.h init cache lab Nov 9, 2017
csim Finish Cache Lab Part B, full point! Nov 18, 2017
csim-ref init cache lab Nov 9, 2017
csim.c
driver.py
panyue-handin.tar Finish Cache Lab Part B, full point! Nov 19, 2017
test-csim init cache lab Nov 9, 2017
test-trans Finish Cache Lab Part B, full point! Nov 19, 2017
test-trans.c init cache lab Nov 9, 2017
trace.f0
trace.f1 Finish Cache Lab Part B, full point! Nov 19, 2017
trace.tmp
tracegen Finish Cache Lab Part B, full point! Nov 19, 2017
tracegen.c init cache lab Nov 9, 2017
trans.c add 2017-11-19-Performance-lab Nov 19, 2017
trans.o Finish Cache Lab Part B, full point! Nov 19, 2017

README

This is the handout directory for the CS:APP Cache Lab. 

************************
Running the autograders:
************************

Before running the autograders, compile your code:
    linux> make

Check the correctness of your simulator:
    linux> ./test-csim

Check the correctness and performance of your transpose functions:
    linux> ./test-trans -M 32 -N 32
    linux> ./test-trans -M 64 -N 64
    linux> ./test-trans -M 61 -N 67

Check everything at once (this is the program that your instructor runs):
    linux> ./driver.py    

******
Files:
******

# You will modifying and handing in these two files
csim.c       Your cache simulator
trans.c      Your transpose function

# Tools for evaluating your simulator and transpose function
Makefile     Builds the simulator and tools
README       This file
driver.py*   The driver program, runs test-csim and test-trans
cachelab.c   Required helper functions
cachelab.h   Required header file
csim-ref*    The executable reference cache simulator
test-csim*   Tests your cache simulator
test-trans.c Tests your transpose function
tracegen.c   Helper program used by test-trans
traces/      Trace files used by test-csim.c