table of contents
other versions
STRUCT PREV_CPUTIME(9) | Driver Basics | STRUCT PREV_CPUTIME(9) |
NAME¶
struct_prev_cputime - snaphsot of system and user cputimeSYNOPSIS¶
struct prev_cputime { #ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE cputime_t utime; cputime_t stime; raw_spinlock_t lock; #endif };
MEMBERS¶
utimetime spent in user mode
stime
time spent in system mode
lock
protects the above two fields
DESCRIPTION¶
Stores previous user/system time values such that we can guarantee monotonicity.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |