search for: do_task_stat

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

2007 Aug 20
3
[PATCH 2/4] Introduce a new fields "gtime" and "cgtime" in task_struct and signal_struct
...07-08-20 13:04:03.000000000 +0200 @@ -354,6 +354,15 @@ static clock_t task_stime(struct task_st return stime; } = +#ifdef CONFIG_GUEST_ACCOUNTING +static clock_t task_gtime(struct task_struct *p) +{ + clock_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 CO...
2007 Aug 20
3
[PATCH 2/4] Introduce a new fields "gtime" and "cgtime" in task_struct and signal_struct
...07-08-20 13:04:03.000000000 +0200 @@ -354,6 +354,15 @@ static clock_t task_stime(struct task_st return stime; } = +#ifdef CONFIG_GUEST_ACCOUNTING +static clock_t task_gtime(struct task_struct *p) +{ + clock_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 CO...
2007 Aug 16
0
[PATCH/RFC 2/4]Introduce a new field "guest" in task_struct
...ig/fs/proc/array.c 2007-08-16 15:23:52.000000000 +0200 +++ kvm/fs/proc/array.c 2007-08-16 15:36:54.000000000 +0200 @@ -354,6 +354,13 @@ return stime; } = +static clock_t task_gtime(struct task_struct *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, st...
2007 Aug 16
0
[PATCH/RFC 2/4]Introduce a new field "guest" in task_struct
...ig/fs/proc/array.c 2007-08-16 15:23:52.000000000 +0200 +++ kvm/fs/proc/array.c 2007-08-16 15:36:54.000000000 +0200 @@ -354,6 +354,13 @@ return stime; } = +static clock_t task_gtime(struct task_struct *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, st...