这是一个本人学习 csapp 的 learning 库
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

39 rader
1.2 KiB

  1. This is the handout directory for the CS:APP Cache Lab.
  2. ************************
  3. Running the autograders:
  4. ************************
  5. Before running the autograders, compile your code:
  6. linux> make
  7. Check the correctness of your simulator:
  8. linux> ./test-csim
  9. Check the correctness and performance of your transpose functions:
  10. linux> ./test-trans -M 32 -N 32
  11. linux> ./test-trans -M 64 -N 64
  12. linux> ./test-trans -M 61 -N 67
  13. Check everything at once (this is the program that your instructor runs):
  14. linux> ./driver.py
  15. ******
  16. Files:
  17. ******
  18. # You will modifying and handing in these two files
  19. csim.c Your cache simulator
  20. trans.c Your transpose function
  21. # Tools for evaluating your simulator and transpose function
  22. Makefile Builds the simulator and tools
  23. README This file
  24. driver.py* The driver program, runs test-csim and test-trans
  25. cachelab.c Required helper functions
  26. cachelab.h Required header file
  27. csim-ref* The executable reference cache simulator
  28. test-csim* Tests your cache simulator
  29. test-trans.c Tests your transpose function
  30. tracegen.c Helper program used by test-trans
  31. traces/ Trace files used by test-csim.c