Release 4.12 include/linux/sched/xacct.h
#ifndef _LINUX_SCHED_XACCT_H
#define _LINUX_SCHED_XACCT_H
/*
* Extended task accounting methods:
*/
#include <linux/sched.h>
#ifdef CONFIG_TASK_XACCT
static inline void add_rchar(struct task_struct *tsk, ssize_t amt)
{
tsk->ioac.rchar += amt;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 23 | 100.00% | 1 | 100.00% |
Total | 23 | 100.00% | 1 | 100.00% |
static inline void add_wchar(struct task_struct *tsk, ssize_t amt)
{
tsk->ioac.wchar += amt;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 23 | 100.00% | 1 | 100.00% |
Total | 23 | 100.00% | 1 | 100.00% |
static inline void inc_syscr(struct task_struct *tsk)
{
tsk->ioac.syscr++;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
static inline void inc_syscw(struct task_struct *tsk)
{
tsk->ioac.syscw++;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
#else
static inline void add_rchar(struct task_struct *tsk, ssize_t amt)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
static inline void add_wchar(struct task_struct *tsk, ssize_t amt)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
static inline void inc_syscr(struct task_struct *tsk)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
static inline void inc_syscw(struct task_struct *tsk)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
#endif
#endif /* _LINUX_SCHED_XACCT_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 154 | 100.00% | 2 | 100.00% |
Total | 154 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.