summaryrefslogtreecommitdiff
path: root/include/linux/cpuacct.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cpuacct.h')
-rw-r--r--include/linux/cpuacct.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/cpuacct.h b/include/linux/cpuacct.h
index 560df02f0986..8f68e733fe19 100644
--- a/include/linux/cpuacct.h
+++ b/include/linux/cpuacct.h
@@ -31,7 +31,9 @@ struct cpuacct_charge_calls {
*/
void (*init) (void **cpuacct_data);
void (*charge) (void *cpuacct_data, u64 cputime, unsigned int cpu);
- void (*show) (void *cpuacct_data, struct cgroup_map_cb *cb);
+ void (*cpufreq_show) (void *cpuacct_data, struct cgroup_map_cb *cb);
+ /* Returns power consumed in milliWatt seconds */
+ u64 (*power_usage) (void *cpuacct_data);
};
int cpuacct_charge_register(struct cpuacct_charge_calls *fn);