From 07e0b709f35ee83d91c62dfbc9cb3f4de7e7ef98 Mon Sep 17 00:00:00 2001 From: Siddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com> Date: Tue, 11 Mar 2025 15:54:22 -0400 Subject: 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 --- inc/operation.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 inc/operation.h (limited to 'inc/operation.h') 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 -- cgit v1.2.3