diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-10-09 00:31:24 -0400 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-10-09 00:31:24 -0400 |
commit | 095d5991f50aaccd2a25792cb7ce44b43a98b29c (patch) | |
tree | 1d9008f7cabfdfdd88c62c059c39c256846d3002 /src/cpu | |
parent | 95ca4f9d4a64cc2d28550e40fbe1c41734e7c1c2 (diff) | |
download | gem5-095d5991f50aaccd2a25792cb7ce44b43a98b29c.tar.xz |
Put a check in so people know not to create more than 8 memtesters.
--HG--
extra : convert_revision : 41ab297dc681b2601be1df33aba30c39f49466d8
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/memtest/memtest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/memtest/memtest.cc b/src/cpu/memtest/memtest.cc index 186b6ba50..609a07a8e 100644 --- a/src/cpu/memtest/memtest.cc +++ b/src/cpu/memtest/memtest.cc @@ -137,6 +137,8 @@ MemTest::MemTest(const string &name, tickEvent.schedule(0); id = TESTER_ALLOCATOR++; + if (TESTER_ALLOCATOR > 8) + panic("False sharing memtester only allows up to 8 testers"); accessRetry = false; } |