https://github.com/torvalds/linux
Raw File
Tip revision: ad81f0545ef01ea651886dddac4bef6cec930092 authored by Linus Torvalds on 14 July 2013, 22:18:27 UTC
Linux 3.11-rc1
Tip revision: ad81f05
cpuacct.h
#ifdef CONFIG_CGROUP_CPUACCT

extern void cpuacct_charge(struct task_struct *tsk, u64 cputime);
extern void cpuacct_account_field(struct task_struct *p, int index, u64 val);

#else

static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime)
{
}

static inline void
cpuacct_account_field(struct task_struct *p, int index, u64 val)
{
}

#endif
back to top