https://github.com/torvalds/linux
Raw File
Tip revision: 9eccca0843205f87c00404b663188b88eb248051 authored by Linus Torvalds on 08 March 2015, 23:09:09 UTC
Linux 4.0-rc3
Tip revision: 9eccca0
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