diff options
author | Erik Hallnor <ehallnor@umich.edu> | 2004-02-09 17:37:27 -0500 |
---|---|---|
committer | Erik Hallnor <ehallnor@umich.edu> | 2004-02-09 17:37:27 -0500 |
commit | f0abedf769bce2d692e45ccdae3f5643a7792442 (patch) | |
tree | 78412c12fe4334dba3cf20a04103948eedb9abd4 /cpu/memtest/memtest.hh | |
parent | 88c5bd695f1716dc9bab58e678c92ffddc306b13 (diff) | |
download | gem5-f0abedf769bce2d692e45ccdae3f5643a7792442.tar.xz |
Add LRU aligned copies to the hierarchy, with only one outstanding copy. Aligned copies now fully work in LRU (just need to write the IIC doCopy call). At the moment they are slow since a stalled copy stalls the entire cache.
cpu/memtest/memtest.cc:
cpu/memtest/memtest.hh:
Add aligned copy tests, percent of copies is specified by percent_copies
--HG--
extra : convert_revision : eaf1900fcb8832db98249e94e3472ebfb049eb48
Diffstat (limited to 'cpu/memtest/memtest.hh')
-rw-r--r-- | cpu/memtest/memtest.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/memtest/memtest.hh b/cpu/memtest/memtest.hh index 09f22a177..d3ac020fd 100644 --- a/cpu/memtest/memtest.hh +++ b/cpu/memtest/memtest.hh @@ -48,6 +48,7 @@ class MemTest : public BaseCPU FunctionalMemory *check_mem, unsigned _memorySize, unsigned _percentReads, + unsigned _percentCopies, unsigned _percentUncacheable, unsigned _progressInterval, Addr _traceAddr, @@ -81,6 +82,7 @@ class MemTest : public BaseCPU unsigned size; // size of testing memory region unsigned percentReads; // target percentage of read accesses + unsigned percentCopies; // target percentage of copy accesses unsigned percentUncacheable; unsigned blockSize; |