summaryrefslogtreecommitdiff
path: root/src/mem/cache/tags/base_set_assoc.hh
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2017-02-21 14:14:44 +0000
committerNikos Nikoleris <nikos.nikoleris@arm.com>2017-02-21 14:14:44 +0000
commitda1ddb9aa77a9ba82003362e5ebcffd903221712 (patch)
treeee759890c9e576587c9cbf463dd74f3c3cdbcd71 /src/mem/cache/tags/base_set_assoc.hh
parenta063a149059236dfee608b478042a6ce65a0d902 (diff)
downloadgem5-da1ddb9aa77a9ba82003362e5ebcffd903221712.tar.xz
mem: Remove unused functions from the tag classes
Change-Id: I4f3c2c027b1acaaf791a4c71086f34a9b9fbf4df Reviewed-by: Andreas Hansson <andreas.hansson@arm.com> Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/mem/cache/tags/base_set_assoc.hh')
-rw-r--r--src/mem/cache/tags/base_set_assoc.hh41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/mem/cache/tags/base_set_assoc.hh b/src/mem/cache/tags/base_set_assoc.hh
index a6dcf0572..40ff5ca5d 100644
--- a/src/mem/cache/tags/base_set_assoc.hh
+++ b/src/mem/cache/tags/base_set_assoc.hh
@@ -127,47 +127,6 @@ public:
virtual ~BaseSetAssoc();
/**
- * Return the block size.
- * @return the block size.
- */
- unsigned
- getBlockSize() const
- {
- return blkSize;
- }
-
- /**
- * Return the subblock size. In the case of BaseSetAssoc it is always
- * the block size.
- * @return The block size.
- */
- unsigned
- getSubBlockSize() const
- {
- return blkSize;
- }
-
- /**
- * Return the number of sets this cache has
- * @return The number of sets.
- */
- unsigned
- getNumSets() const override
- {
- return numSets;
- }
-
- /**
- * Return the number of ways this cache has
- * @return The number of ways.
- */
- unsigned
- getNumWays() const override
- {
- return assoc;
- }
-
- /**
* Find the cache block given set and way
* @param set The set of the block.
* @param way The way of the block.