![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _LINUX_SCHED_TYPES_H 0003 #define _LINUX_SCHED_TYPES_H 0004 0005 #include <linux/types.h> 0006 0007 /** 0008 * struct task_cputime - collected CPU time counts 0009 * @stime: time spent in kernel mode, in nanoseconds 0010 * @utime: time spent in user mode, in nanoseconds 0011 * @sum_exec_runtime: total time spent on the CPU, in nanoseconds 0012 * 0013 * This structure groups together three kinds of CPU time that are tracked for 0014 * threads and thread groups. Most things considering CPU time want to group 0015 * these counts together and treat all three of them in parallel. 0016 */ 0017 struct task_cputime { 0018 u64 stime; 0019 u64 utime; 0020 unsigned long long sum_exec_runtime; 0021 }; 0022 0023 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |