minix/kernel/system
Xiaoguang Sun 64f10ee644 Implement getrusage
Implement getrusage.
These fields of struct rusage are not supported and always set to zero at this time
long ru_nswap;           /* swaps */
long ru_inblock;         /* block input operations */
long ru_oublock;         /* block output operations */
long ru_msgsnd;          /* messages sent */
long ru_msgrcv;          /* messages received */
long ru_nvcsw;           /* voluntary context switches */
long ru_nivcsw;          /* involuntary context switches */

test75.c is the unit test for this new function

Change-Id: I3f1eb69de1fce90d087d76773b09021fc6106539
2013-07-01 23:00:47 +02:00
..
do_abort.c
do_clear.c
do_copy.c
do_cprofile.c
do_devio.c
do_endksig.c
do_exec.c
do_exit.c
do_fork.c Implement getrusage 2013-07-01 23:00:47 +02:00
do_getinfo.c Implement getrusage 2013-07-01 23:00:47 +02:00
do_getksig.c
do_irqctl.c
do_kill.c
do_mcontext.c
do_memset.c
do_privctl.c
do_profbuf.c
do_runctl.c
do_safecopy.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
do_safememset.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
do_schedctl.c
do_schedule.c
do_setalarm.c kernel: rename realtime to monotonic, add realtime 2013-04-04 15:04:52 +02:00
do_setgrant.c
do_settime.c kernel: high-hz workaround for do_settime 2013-06-25 09:55:43 +00:00
do_sigreturn.c kernel: trap-dependent state restore, trace fixes 2013-01-08 15:47:37 +00:00
do_sigsend.c arm: protect state after signal handler 2013-02-05 17:25:38 +01:00
do_sprofile.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
do_statectl.c
do_stime.c
do_sysctl.c
do_times.c libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
do_trace.c kernel:enable trace on arm. 2013-02-17 08:40:38 +01:00
do_umap_remote.c
do_umap.c
do_update.c
do_vdevio.c
do_vmctl.c
do_vtimer.c
do_vumap.c
Makefile.inc libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00