46 Commits (master)
 

Author SHA1 Message Date
Adam Goldsmith 2857ac72a5 Sort of functional implementation 6 years ago
Adam Goldsmith a44e5fda1f Add helpful printing functions for testing 6 years ago
Jacob 01b26c686f Merge branch 'master' of adamgoldsmith.name:WPI/CS2011/cachelab 6 years ago
Jacob 8e948abbc3 Slightly reorganized cache_access. Moved set re-linking to new function update_set. 6 years ago
Jacob ec29b81418 Slightly reorganized cache_access. Moved set re-linking to new function update_set. 6 years ago
Jacob 93801e248b Multiple mostly-stylistic changes, and improved argument checking. 6 years ago
Jacob df84d11ffb Modified parse_int_arg to better handle too-large and too-small associativities. 6 years ago
Jacob f018d83848 Renamed block_bits to block_offset_bits. Fixed minor type errors. 6 years ago
Jacob 80c595ada2 Updated and add doc comments. Also added various todos for next commit. 6 years ago
Adam Goldsmith bd06a5c208 Make verbose printing closer to reference simulator 6 years ago
Jacob 189807e834 Reordered functions. 6 years ago
Jacob 927b7bd6a7 Renamed set_indices to num_sets. Commented out extraneous VERBOSE print_cache call. 6 years ago
Adam Goldsmith ca9f6ddc77 Improve verbose printing 6 years ago
Adam Goldsmith e457f4dee0 Fix cache_access 6 years ago
Adam Goldsmith 9997f58137 Mostly functional cache_access 6 years ago
Adam Goldsmith 27b90ae3ed Add missing function prototypes 6 years ago
Adam Goldsmith 8548d6ede5 Move print_cache into main loop 6 years ago
Adam Goldsmith 60fc5d1f0a Use struct for score, add function to increment from char 6 years ago
Adam Goldsmith a31fde98e4 Add find_line 6 years ago
Jacob 88240dab06 Added make test, which uses -Wextra, and doesn't use -Werror. 6 years ago
Adam Goldsmith 29e74799e3 Actually use hits, misses and evictions in printSummary 6 years ago
Adam Goldsmith 92ae2a0a2b Add function to print cache 6 years ago
Adam Goldsmith c26d27db9d Fix number of sets/lines created 6 years ago
Jacob b556be1622 Implemented linked_lines and modified cache creation/deletion. 6 years ago
Jacob 7f254fd50b Fixed types. 6 years ago
Adam Goldsmith acb6900502 Properly close file 6 years ago
Adam Goldsmith 2fc771d08e Add cache allocation and free functions 6 years ago
Jacob d16bf870f6 Ignoring test files, emacs drafts, and emacs buffers. 6 years ago
Jacob fb6c9e3a27 Various minor changes. 6 years ago
Jacob 50ee8769fa See previous commit. 6 years ago
Jacob 3b97949150 Implemented size calculation. Various minor changes. 6 years ago
Adam Goldsmith 4f09ea0249 Add basic file parsing 6 years ago
Jacob 8d8568fce1 Fixed compilation issues. 6 years ago
Jacob 0fc77a6828 Moved print_usage and parse_int_arg below main. 6 years ago
Jacob 490d8cafde Restored old method of checking for presence of arguments. 6 years ago
Jacob dc67c24899 New and improved argument parsing with getopt. 6 years ago
Adam Goldsmith 0a660b8939 Convert spaces to tabs 6 years ago
Adam Goldsmith 03d08c71af Move verbose to global VERBOSE 6 years ago
Adam Goldsmith 0b947b701f Improve int argument parsing 6 years ago
Adam Goldsmith 70b79a8b56 Add .gitignore 6 years ago
Jacob 0a3f87840d Added usage string. 6 years ago
Adam Goldsmith 210eeb05dd Correct python version in driver.py 6 years ago
Adam Goldsmith 2a8124df09 Added basic argument parsing 6 years ago
Adam Goldsmith 568fa2a6f8 More trailing whitespace 6 years ago
Adam Goldsmith 483fa8458d delete trailing newlines 6 years ago
Adam Goldsmith b4e31f122a Initial Commit 6 years ago