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

NAME

6       struct_prev_cputime - snaphsot of system and user cputime
7

SYNOPSIS

9       struct prev_cputime {
10       #ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
11         cputime_t utime;
12         cputime_t stime;
13         raw_spinlock_t lock;
14       #endif
15       };
16

MEMBERS

18       utime
19           time spent in user mode
20
21       stime
22           time spent in system mode
23
24       lock
25           protects the above two fields
26

DESCRIPTION

28       Stores previous user/system time values such that we can guarantee
29       monotonicity.
30
32Kernel Hackers Manual 3.10         June 2019            STRUCT PREV_CPUTIME(9)
Impressum