summaryrefslogtreecommitdiffstats
path: root/include/linux/cpu_acct.h
blob: 6b5fd8a66c8d6a7bee3089526b5a84a311a130e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#ifndef _LINUX_CPU_ACCT_H
#define _LINUX_CPU_ACCT_H

#include <linux/cgroup.h>
#include <asm/cputime.h>

#ifdef CONFIG_CGROUP_CPUACCT
extern void cpuacct_charge(struct task_struct *, cputime_t cputime);
#else
static void inline cpuacct_charge(struct task_struct *p, cputime_t cputime) {}
#endif

#endif