forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
359 B
18 lines
359 B
3 years ago
|
#ifdef CONFIG_CGROUP_CPUACCT
|
||
|
|
||
|
extern void cpuacct_charge(struct task_struct *tsk, u64 cputime);
|
||
|
extern void cpuacct_account_field(struct task_struct *tsk, 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 *tsk, int index, u64 val)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
#endif
|