Put a check in so people know not to create more than 8 memtesters.

--HG--
extra : convert_revision : 41ab297dc681b2601be1df33aba30c39f49466d8
This commit is contained in:
Ron Dreslinski 2006-10-09 00:31:24 -04:00
parent 95ca4f9d4a
commit 095d5991f5

View file

@ -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;
}