[컴퓨터시스템프로그래밍] CS:APP Cache Lab csim.c (2) solution
·
ComputerSystemProgramming
까먹고 작성 안했던 세 번째 과제의 solution#include #include #include #include "cachelab.h"/* Globals set by command line args */int verbosity = 0; /* print trace if set */int s = 0; /* set index bits */int b = 0; /* block offset bits */int E = 0; /* associativity */char *trace_file = NULL;/* Derived from command line args */int S; /* number of sets */int B; /* block size (bytes) */int ..