Re: [RFCv3 PATCH 36/48] sched: Count number of shallower idle-states in struct sched_group_energy

2015-03-24 Thread Morten Rasmussen
On Tue, Mar 24, 2015 at 01:14:39PM +, Peter Zijlstra wrote: > On Wed, Feb 04, 2015 at 06:31:13PM +, Morten Rasmussen wrote: > > cpuidle associates all idle-states with each cpu while the energy model > > associates them with the sched_group covering the cpus coordinating > > entry to the

Re: [RFCv3 PATCH 36/48] sched: Count number of shallower idle-states in struct sched_group_energy

2015-03-24 Thread Peter Zijlstra
On Wed, Feb 04, 2015 at 06:31:13PM +, Morten Rasmussen wrote: > cpuidle associates all idle-states with each cpu while the energy model > associates them with the sched_group covering the cpus coordinating > entry to the idle-state. To get idle-state power consumption it is > therefore

Re: [RFCv3 PATCH 36/48] sched: Count number of shallower idle-states in struct sched_group_energy

2015-03-24 Thread Peter Zijlstra
On Wed, Feb 04, 2015 at 06:31:13PM +, Morten Rasmussen wrote: cpuidle associates all idle-states with each cpu while the energy model associates them with the sched_group covering the cpus coordinating entry to the idle-state. To get idle-state power consumption it is therefore necessary

Re: [RFCv3 PATCH 36/48] sched: Count number of shallower idle-states in struct sched_group_energy

2015-03-24 Thread Morten Rasmussen
On Tue, Mar 24, 2015 at 01:14:39PM +, Peter Zijlstra wrote: On Wed, Feb 04, 2015 at 06:31:13PM +, Morten Rasmussen wrote: cpuidle associates all idle-states with each cpu while the energy model associates them with the sched_group covering the cpus coordinating entry to the

[RFCv3 PATCH 36/48] sched: Count number of shallower idle-states in struct sched_group_energy

2015-02-04 Thread Morten Rasmussen
cpuidle associates all idle-states with each cpu while the energy model associates them with the sched_group covering the cpus coordinating entry to the idle-state. To get idle-state power consumption it is therefore necessary to translate from cpuidle idle-state index to energy model index. For

[RFCv3 PATCH 36/48] sched: Count number of shallower idle-states in struct sched_group_energy

2015-02-04 Thread Morten Rasmussen
cpuidle associates all idle-states with each cpu while the energy model associates them with the sched_group covering the cpus coordinating entry to the idle-state. To get idle-state power consumption it is therefore necessary to translate from cpuidle idle-state index to energy model index. For