summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resources/fetch_unit.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:39 -0400
committerKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:39 -0400
commitb72bdcf4f896ba9bc8ddca1872e7f897965127ee (patch)
treef8657096bb05800a3cc3cd15b1bd1c631cd69249 /src/cpu/inorder/resources/fetch_unit.hh
parent4d4c7d79d0847a004b4fed4dcfd8fd98fd164163 (diff)
downloadgem5-b72bdcf4f896ba9bc8ddca1872e7f897965127ee.tar.xz
inorder: fetchBuffer tracking
calculate blocks in use for the fetch buffer to figure out how many total blocks are pending
Diffstat (limited to 'src/cpu/inorder/resources/fetch_unit.hh')
-rw-r--r--src/cpu/inorder/resources/fetch_unit.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/inorder/resources/fetch_unit.hh b/src/cpu/inorder/resources/fetch_unit.hh
index d6e36419a..cc1e72914 100644
--- a/src/cpu/inorder/resources/fetch_unit.hh
+++ b/src/cpu/inorder/resources/fetch_unit.hh
@@ -120,6 +120,8 @@ class FetchUnit : public CacheUnit
void markBlockUsed(std::list<FetchBlock*>::iterator block_it);
+ int blocksInUse();
+
int instSize;
int fetchBuffSize;