summaryrefslogtreecommitdiff
path: root/inc/operation.h
diff options
context:
space:
mode:
authorSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-03-11 15:54:22 -0400
committerSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-03-11 15:54:22 -0400
commit7eea92651e3f7c1a60726b3646dc96fe6118c1d7 (patch)
tree16b169816c5475ab07bc0c2df2ebd50b6884acc8 /inc/operation.h
parent21187ae663a8450553881851e8450315c8d9ca1c (diff)
read has to wait until cache has the right line from memory after eviction, write only has to wait until eviction and does not care about line replacement in cache from memory
Diffstat (limited to 'inc/operation.h')
-rw-r--r--inc/operation.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/operation.h b/inc/operation.h
new file mode 100644
index 0000000..a35344e
--- /dev/null
+++ b/inc/operation.h
@@ -0,0 +1,9 @@
+#ifndef OPERATION_H
+#define OPERATION_H
+
+enum Operation {
+ READ,
+ WRITE
+};
+
+#endif /* OPERATION_H_INCLUDED */ \ No newline at end of file