search for: nsec_to_clock_t

Displaying 3 results from an estimated 3 matches for "nsec_to_clock_t".

2004 Oct 19
1
times.h and building ash
...clude/arch/i386 -I../include/bits32 -I../include -I../linux/include -I../linux/include2 -I../linux/include -DSHELL -DJOBS=0 -I. -c -o eval.o eval.c In file included from ../include/sys/times.h:8, from eval.c:58: ../linux/include/linux/times.h:58: error: syntax error before "nsec_to_clock_t" ../linux/include/linux/times.h:58: error: syntax error before "x" In file included from ../include/sys/times.h:8, from eval.c:58: ../linux/include/linux/times.h:60:28: division by zero in #if ../linux/include/linux/times.h: In function `nsec_to_clock_t': ../linu...
2007 Aug 20
3
[PATCH 2/4] Introduce a new fields "gtime" and "cgtime" in task_struct and signal_struct
...time(task); stime =3D task_stime(task); +#ifdef CONFIG_GUEST_ACCOUNTING + gtime =3D task_gtime(task); +#endif } = /* scale priority and nice values from timeslices to -20..20 */ @@ -455,9 +484,13 @@ static int do_task_stat(struct task_stru /* convert nsec -> ticks */ start_time =3D nsec_to_clock_t(start_time); = - res =3D sprintf(buffer, "%d (%s) %c %d %d %d %d %d %u %lu \ -%lu %lu %lu %lu %lu %ld %ld %ld %ld %d 0 %llu %lu %ld %lu %lu %lu %lu %lu \ -%lu %lu %lu %lu %lu %lu %lu %lu %d %d %u %u %llu\n", + res =3D sprintf(buffer, "%d (%s) %c %d %d %d %d %d %u %lu " +"...
2007 Aug 20
3
[PATCH 2/4] Introduce a new fields "gtime" and "cgtime" in task_struct and signal_struct
...time(task); stime =3D task_stime(task); +#ifdef CONFIG_GUEST_ACCOUNTING + gtime =3D task_gtime(task); +#endif } = /* scale priority and nice values from timeslices to -20..20 */ @@ -455,9 +484,13 @@ static int do_task_stat(struct task_stru /* convert nsec -> ticks */ start_time =3D nsec_to_clock_t(start_time); = - res =3D sprintf(buffer, "%d (%s) %c %d %d %d %d %d %u %lu \ -%lu %lu %lu %lu %lu %ld %ld %ld %ld %d 0 %llu %lu %ld %lu %lu %lu %lu %lu \ -%lu %lu %lu %lu %lu %lu %lu %lu %d %d %u %u %llu\n", + res =3D sprintf(buffer, "%d (%s) %c %d %d %d %d %d %u %lu " +"...