b9fc4f9ab470032d4a670e56ca9eec5c9bfe2f67
1 #ifndef _LINUX_KERNEL_VTIME_H
2 #define _LINUX_KERNEL_VTIME_H
6 #ifdef CONFIG_VIRT_CPU_ACCOUNTING
7 extern void vtime_task_switch(struct task_struct
*prev
);
8 extern void __vtime_account_system(struct task_struct
*tsk
);
9 extern void vtime_account_system(struct task_struct
*tsk
);
10 extern void __vtime_account_idle(struct task_struct
*tsk
);
12 static inline void vtime_task_switch(struct task_struct
*prev
) { }
13 static inline void vtime_account_system(struct task_struct
*tsk
) { }
16 #if !defined(CONFIG_VIRT_CPU_ACCOUNTING) && !defined(CONFIG_IRQ_TIME_ACCOUNTING)
17 static inline void vtime_account(struct task_struct
*tsk
)
21 extern void vtime_account(struct task_struct
*tsk
);
24 #endif /* _LINUX_KERNEL_VTIME_H */
This page took 0.031883 seconds and 4 git commands to generate.