summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/storage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/storage.h b/inc/storage.h
index c0f09a3..f5659c5 100644
--- a/inc/storage.h
+++ b/inc/storage.h
@@ -3,12 +3,14 @@
#include "definitions.h"
#include "response.h"
#include <array>
+#include <unordered_map>
#include <vector>
enum Accessor {
MEMORY,
FETCH,
L1CACHE,
+ IDLE,
};
class Storage
@@ -55,6 +57,14 @@ class Storage
* requests.
*/
int delay;
+ /**
+ * The accessor currently being serviced.
+ */
+ enum Accessor servicing;
+ /**
+ * The number of cycles until the currently request is completed.
+ */
+ int wait_time;
};
#endif /* STORAGE_H_INCLUDED */