diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:39 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:39 -0400 |
commit | b72bdcf4f896ba9bc8ddca1872e7f897965127ee (patch) | |
tree | f8657096bb05800a3cc3cd15b1bd1c631cd69249 /src/cpu/inorder/resources/fetch_unit.hh | |
parent | 4d4c7d79d0847a004b4fed4dcfd8fd98fd164163 (diff) | |
download | gem5-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.hh | 2 |
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; |