struct_prev_cputime(9) - phpMan
STRUCT PREV_CPUTIME(9) Driver Basics STRUCT PREV_CPUTIME(9)
NAME
struct_prev_cputime - snaphsot of system and user cputime
SYNOPSIS
struct prev_cputime {
#ifndef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
cputime_t utime;
cputime_t stime;
raw_spinlock_t lock;
#endif
};
MEMBERS
utime
time 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
Kernel Hackers Manual 4.8. January 2017 STRUCT PREV_CPUTIME(9)
|