| Paul Menage | 62d0df6 | 2007-10-18 23:39:42 -0700 | [diff] [blame] | 1 | |
| 2 | #ifndef _LINUX_CPU_ACCT_H | ||||
| 3 | #define _LINUX_CPU_ACCT_H | ||||
| 4 | |||||
| 5 | #include <linux/cgroup.h> | ||||
| 6 | #include <asm/cputime.h> | ||||
| 7 | |||||
| 8 | #ifdef CONFIG_CGROUP_CPUACCT | ||||
| 9 | extern void cpuacct_charge(struct task_struct *, cputime_t cputime); | ||||
| 10 | #else | ||||
| 11 | static void inline cpuacct_charge(struct task_struct *p, cputime_t cputime) {} | ||||
| 12 | #endif | ||||
| 13 | |||||
| 14 | #endif | ||||