'\" t .\" Title: struct task_cputime .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "STRUCT TASK_CPUTIME" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_task_cputime \- collected CPU time counts .SH "SYNOPSIS" .sp .nf struct task_cputime { cputime_t utime; cputime_t stime; unsigned long long sum_exec_runtime; }; .fi .SH "MEMBERS" .PP utime .RS 4 time spent in user mode, in cputime_t units .RE .PP stime .RS 4 time spent in kernel mode, in cputime_t units .RE .PP sum_exec_runtime .RS 4 total time spent on the CPU, in nanoseconds .RE .SH "DESCRIPTION" .PP This is an extension of struct cputime that includes the total runtime spent by the task from the scheduler point of view\&. .PP As a result, 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\&. .SH "COPYRIGHT" .br