1STRUCT TASK_CPUTIME(9)           Driver Basics          STRUCT TASK_CPUTIME(9)
2
3
4

NAME

6       struct_task_cputime - collected CPU time counts
7

SYNOPSIS

9       struct task_cputime {
10         cputime_t utime;
11         cputime_t stime;
12         unsigned long long sum_exec_runtime;
13       };
14

MEMBERS

16       utime
17           time spent in user mode, in cputime_t units
18
19       stime
20           time spent in kernel mode, in cputime_t units
21
22       sum_exec_runtime
23           total time spent on the CPU, in nanoseconds
24

DESCRIPTION

26       This structure groups together three kinds of CPU time that are tracked
27       for threads and thread groups. Most things considering CPU time want to
28       group these counts together and treat all three of them in parallel.
29
31Kernel Hackers Manual 3.10         June 2019            STRUCT TASK_CPUTIME(9)
Impressum