Re: [m5-dev] [PATCH] [mq]: fix_cpu_progr_intvl

2009-04-29 Thread Korey Sewell
> Thanks for catching this... I've wanted a command-line option to enable this > on a few occasions in the past.  Could you add the code to enable the option > in fs.py, or better yet, find someplace common to stick it like > Simulation.py so that it just automatically works for both? Sure, I was j

Re: [m5-dev] [PATCH] [mq]: fix_cpu_progr_intvl

2009-04-29 Thread Steve Reinhardt
Thanks for catching this... I've wanted a command-line option to enable this on a few occasions in the past. Could you add the code to enable the option in fs.py, or better yet, find someplace common to stick it like Simulation.py so that it just automatically works for both? I don't see where yo

Re: [m5-dev] [PATCH] [mq]: fix_cpu_progr_intvl

2009-04-29 Thread Korey Sewell
The CPU Progress Interval was not working because it would schedule an event at construction time, then try to reschedule itself right after that in the BaseCPU startup() function. Thus, doing this causes an error from the double scheduling: event = new CPUProgressEvent(this, numTicks) schedule(ev

[m5-dev] [PATCH] [mq]: fix_cpu_progr_intvl

2009-04-29 Thread Korey Sewell
# HG changeset patch # User Korey Sewell # Date 1241030260 14400 # Node ID 1e06d3c4aa338ee6c97b1ffc9626ca32991b98fe # Parent 2bfd792b1cc059cc58531c43c9ecf0bbcbad9f12 [mq]: fix_cpu_progr_intvl diff --git a/configs/common/Options.py b/configs/common/Options.py --- a/configs/common/Options.py +++ b