[gem5-dev] Changing clockPeriod of cpu_clk_domain in gem5 | SrcClockDomain::clockPeriod(Tick clock_period)

2014-09-29 Thread Lokesh Jindal via gem5-dev
Hello everyone, I am trying to experiment with changing CPU frequency in gem5 dynamically. I am trying to do so in a naive way (I am fairly new to gem5). I am running with atomic cpu model and in the "cpu->tick" function, I want to change the cpu frequency after a certain number of ticks. I

Re: [gem5-dev] Changing clockPeriod of cpu_clk_domain in gem5 | SrcClockDomain::clockPeriod(Tick clock_period)

2014-09-30 Thread Andreas Hansson via gem5-dev
Hi Lokesh, There are two key components in gem5 designed to change the frequency and voltages dynamically: - First, you have the DVFSHandler which is just a form of API for doing these kinds of changes - Second, you have an EnergyCtrl instance which is a memory-mapped component, visible to the O