Re: [PATCH 2/2] sched: cpufreq: Adds a field cpu_power in the task_struct

From: Peter Zijlstra
Date: Fri May 15 2015 - 12:07:37 EST


On Thu, May 14, 2015 at 04:55:48PM -0700, Ruchi Kandoi wrote:
> cpu_power has been added to keep track of amount of power each task is
> consuming. cpu_power is updated whenever stime and utime are updated for
> a task. power is computed by taking into account the frequency at which
> the current core was running and the current for cpu actively
> running at hat frequency.
>

Both you patches completely lack any reason for me to even start
considering this.

_WHY_ and _what_ are you doing?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/