Blame view
kernel/sched/cpuacct.h
398 Bytes
b24413180 License cleanup: ... |
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
60fed7891 sched: Split cpua... |
2 |
#ifdef CONFIG_CGROUP_CPUACCT |
60fed7891 sched: Split cpua... |
3 |
extern void cpuacct_charge(struct task_struct *tsk, u64 cputime); |
73e6aafd9 sched/cpuacct: Si... |
4 |
extern void cpuacct_account_field(struct task_struct *tsk, int index, u64 val); |
60fed7891 sched: Split cpua... |
5 6 7 8 9 10 |
#else static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime) { } |
1966aaf7d sched/cpuacct: Ad... |
11 |
static inline void |
73e6aafd9 sched/cpuacct: Si... |
12 |
cpuacct_account_field(struct task_struct *tsk, int index, u64 val) |
1966aaf7d sched/cpuacct: Ad... |
13 14 |
{ } |
60fed7891 sched: Split cpua... |
15 |
#endif |