diff options
author | bd <bdunahu@operationnull.com> | 2025-03-10 14:53:59 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-10 14:53:59 -0400 |
commit | 486d18df5ca93e043fdd14fac1d22b5fe40fb6f6 (patch) | |
tree | fc77cc22024b719f14e03e29e2bbd94b3eb645ca /inc/definitions.h | |
parent | d0ec568e4f063fd1c85087582283f3511e0a12ec (diff) |
Update cli method signatures, add some getters to cache and storage
Diffstat (limited to 'inc/definitions.h')
-rw-r--r-- | inc/definitions.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/definitions.h b/inc/definitions.h index 877065e..8cafab3 100644 --- a/inc/definitions.h +++ b/inc/definitions.h @@ -31,6 +31,16 @@ #define L1_CACHE_SIZE (int)pow(2, L1_CACHE_SPEC) /** + * The total number of cycles a memory access takes. + */ +#define MEM_DELAY 4 + +/** + * The total number of cycles a level one cache access takes + */ +#define L1_CACHE_DELAY 1 + +/** * Return the N least-significant bits from integer K using a bit mask * @param the integer to be parsed * @param the number of bits to be parsed |