2013-03-29 06:36:43 +00:00
|
|
|
#ifdef CONFIG_CGROUP_CPUACCT
|
|
|
|
|
|
|
|
extern void cpuacct_charge(struct task_struct *tsk, u64 cputime);
|
2013-03-29 06:37:06 +00:00
|
|
|
extern void cpuacct_account_field(struct task_struct *p, int index, u64 val);
|
2013-03-29 06:36:43 +00:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-03-29 06:37:06 +00:00
|
|
|
static inline void
|
|
|
|
cpuacct_account_field(struct task_struct *p, int index, u64 val)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-03-29 06:36:43 +00:00
|
|
|
#endif
|