android_kernel_samsung_msm8976/include/linux/msm-core-interface.h
Archana Sathyakumar 7cefdbe2ee msm-core: Supplement scheduler core selection using power estimates
The msm-core driver provides per-core temperature and power for every
P-state (frequency/capacity) to the scheduler.
The objective of the driver is to compute the power consumed
at every P-state so as to make power efficient scheduling decisions.
     Dynamic power = fn (V, f)
     where V is voltage at the frequency f

The power computation and temperature read for all cores happen at
regular intervals (deferrable) unless there is a change in temperature
or frequency.

Change-Id: I2737145955d23e0dfbfabc134ce3e1e73c3e36a1
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
2014-07-25 14:06:39 -06:00

13 lines
572 B
C

/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <uapi/linux/msm-core-interface.h>