search for: maj_flt

Displaying 4 results from an estimated 4 matches for "maj_flt".

2007 Aug 16
0
[PATCH/RFC 2/4]Introduce a new field "guest" in task_struct
...ct *p) +{ + clock_t gtime =3D cputime_to_clock_t(p->gtime); + + return gtime; +} + static int do_task_stat(struct task_struct *task, char *buffer, int whole) { unsigned long vsize, eip, esp, wchan =3D ~0UL; @@ -368,8 +375,8 @@ unsigned long long start_time; unsigned long cmin_flt =3D 0, cmaj_flt =3D 0; unsigned long min_flt =3D 0, maj_flt =3D 0; - cputime_t cutime, cstime; - clock_t utime, stime; + cputime_t cutime, cstime, cgtime; + clock_t utime, stime, gtime; unsigned long rsslim =3D 0; char tcomm[sizeof(task->comm)]; unsigned long flags; @@ -387,8 +394,8 @@ = sigemptys...
2007 Aug 16
0
[PATCH/RFC 2/4]Introduce a new field "guest" in task_struct
...ct *p) +{ + clock_t gtime =3D cputime_to_clock_t(p->gtime); + + return gtime; +} + static int do_task_stat(struct task_struct *task, char *buffer, int whole) { unsigned long vsize, eip, esp, wchan =3D ~0UL; @@ -368,8 +375,8 @@ unsigned long long start_time; unsigned long cmin_flt =3D 0, cmaj_flt =3D 0; unsigned long min_flt =3D 0, maj_flt =3D 0; - cputime_t cutime, cstime; - clock_t utime, stime; + cputime_t cutime, cstime, cgtime; + clock_t utime, stime, gtime; unsigned long rsslim =3D 0; char tcomm[sizeof(task->comm)]; unsigned long flags; @@ -387,8 +394,8 @@ = sigemptys...
2007 Aug 20
3
[PATCH 2/4] Introduce a new fields "gtime" and "cgtime" in task_struct and signal_struct
..._t gtime =3D cputime_to_clock_t(p->gtime); + + return gtime; +} +#endif + static int do_task_stat(struct task_struct *task, char *buffer, int whole) { unsigned long vsize, eip, esp, wchan =3D ~0UL; @@ -369,6 +378,10 @@ static int do_task_stat(struct task_stru unsigned long cmin_flt =3D 0, cmaj_flt =3D 0; unsigned long min_flt =3D 0, maj_flt =3D 0; cputime_t cutime, cstime; +#ifdef CONFIG_GUEST_ACCOUNTING + cputime_t cgtime; + clock_t gtime; +#endif clock_t utime, stime; unsigned long rsslim =3D 0; char tcomm[sizeof(task->comm)]; @@ -388,6 +401,10 @@ static int do_task_stat(str...
2007 Aug 20
3
[PATCH 2/4] Introduce a new fields "gtime" and "cgtime" in task_struct and signal_struct
..._t gtime =3D cputime_to_clock_t(p->gtime); + + return gtime; +} +#endif + static int do_task_stat(struct task_struct *task, char *buffer, int whole) { unsigned long vsize, eip, esp, wchan =3D ~0UL; @@ -369,6 +378,10 @@ static int do_task_stat(struct task_stru unsigned long cmin_flt =3D 0, cmaj_flt =3D 0; unsigned long min_flt =3D 0, maj_flt =3D 0; cputime_t cutime, cstime; +#ifdef CONFIG_GUEST_ACCOUNTING + cputime_t cgtime; + clock_t gtime; +#endif clock_t utime, stime; unsigned long rsslim =3D 0; char tcomm[sizeof(task->comm)]; @@ -388,6 +401,10 @@ static int do_task_stat(str...