diff options
author | bd <bdunahu@operationnull.com> | 2025-03-10 19:42:01 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-10 19:42:01 -0400 |
commit | 4dbe50416eea0fecc2aa6f5ce3dc7032c95234c5 (patch) | |
tree | 140af0aec8ee90ac4c15e8b877ff2dc88f33d7ae /inc/storage.h | |
parent | 9009d358f7959b1dd60b77fea181be04ae190ef3 (diff) |
CLI view, clock, store, program banner
Diffstat (limited to 'inc/storage.h')
-rw-r--r-- | inc/storage.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/inc/storage.h b/inc/storage.h index 3f113d3..a30e74d 100644 --- a/inc/storage.h +++ b/inc/storage.h @@ -1,19 +1,13 @@ #ifndef STORAGE_H #define STORAGE_H +#include "accessor.h" #include "definitions.h" #include "response.h" #include <algorithm> #include <array> +#include <map> #include <vector> -enum Accessor { - IDLE, - MEM, - FETCH, - L1CACHE, - SIDE, -}; - class Storage { public: @@ -45,9 +39,10 @@ class Storage * @return A matrix of data values, where each row is a line and each column * is a word. */ - std::vector<std::array<signed int, LINE_SIZE>> view(int base, int lines) const; + std::vector<std::array<signed int, LINE_SIZE>> + view(int base, int lines) const; /** - * Advances to the next job if the current job is completed. + * Refreshes the state of this storage device and lower. */ void resolve(); |