table of contents
STRUCT TASK_CPUTIME(9) | Driver Basics | STRUCT TASK_CPUTIME(9) |
NAME¶
struct_task_cputime - collected CPU time counts
SYNOPSIS¶
struct task_cputime {
cputime_t utime;
cputime_t stime;
unsigned long long sum_exec_runtime; };
MEMBERS¶
utime
time spent in user mode, in cputime_t units
stime
time spent in kernel mode, in cputime_t units
sum_exec_runtime
total time spent on the CPU, in nanoseconds
DESCRIPTION¶
This structure groups together three kinds of CPU time that are tracked for threads and thread groups. Most things considering CPU time want to group these counts together and treat all three of them in parallel.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |