commit Soumyaroop's bug catch about max_insts_all_threads

This commit is contained in:
Lisa Hsu 2009-09-29 18:03:10 -04:00
parent 160bcf4442
commit 1290a5f340

View file

@ -151,7 +151,7 @@ BaseCPU::BaseCPU(Params *p)
*counter = numThreads; *counter = numThreads;
for (ThreadID tid = 0; tid < numThreads; ++tid) { for (ThreadID tid = 0; tid < numThreads; ++tid) {
Event *event = new CountedExitEvent(cause, *counter); Event *event = new CountedExitEvent(cause, *counter);
comInstEventQueue[tid]->schedule(event, p->max_insts_any_thread); comInstEventQueue[tid]->schedule(event, p->max_insts_all_threads);
} }
} }