commit Soumyaroop's bug catch about max_insts_all_threads
authorLisa Hsu <hsul@eecs.umich.edu>
Tue, 29 Sep 2009 22:03:10 +0000 (18:03 -0400)
committerLisa Hsu <hsul@eecs.umich.edu>
Tue, 29 Sep 2009 22:03:10 +0000 (18:03 -0400)
src/cpu/base.cc

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