https://github.com/torvalds/linux
Raw File
Tip revision: 39dae59d66acd86d1de24294bd2f343fd5e7a625 authored by Linus Torvalds on 05 November 2017, 21:05:14 UTC
Linux 4.14-rc8
Tip revision: 39dae59
cpuacct.h
/* SPDX-License-Identifier: GPL-2.0 */
#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
back to top