Skip to content

dev-lew/CSAPP-Cache-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSAPP-Cache-Simulator

Cache Simulator with a least recently used eviction policy. Reads a valgrind trace file and simulates misses and hits for a cache with S sets, E lines, and b offset bits. Operates by pulling the important information from a valgrind trace
and storing it in a struct, where one struct holds the info from one line of the trace file. The cache simulator works by reading this struct.

Makefile requires x86-64 system and the other CS:APP files

Usage

linux> ./csim [-hv] -s -E -b -t \n

About

Functional cache simulator as outlined in CS:APP

Resources

Stars

Watchers

Forks