From 486d18df5ca93e043fdd14fac1d22b5fe40fb6f6 Mon Sep 17 00:00:00 2001 From: bd Date: Mon, 10 Mar 2025 14:53:59 -0400 Subject: Update cli method signatures, add some getters to cache and storage --- inc/cache.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'inc/cache.h') diff --git a/inc/cache.h b/inc/cache.h index e8b7030..b7b72cf 100644 --- a/inc/cache.h +++ b/inc/cache.h @@ -25,6 +25,13 @@ class Cache : public Storage int address, std::array &data) override; + /** + * Getter for the meta attribute. + * TODO this doesn't seem like good object-oriented practice. + * @return this->meta + */ + std::array, L1_CACHE_SIZE> *get_meta(); + private: /** * Fetches `address` from a lower level of storage if it is not already -- cgit v1.2.3