https://github.com/torvalds/linux
Raw File
Tip revision: d0e639c9e06d44e713170031fe05fb60ebe680af authored by Linus Torvalds on 06 October 2013, 21:00:20 UTC
Linux 3.12-rc4
Tip revision: d0e639c
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