struct_prev_cputime(9) 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