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 Remove ability to pass commands to bootloader 2012-11-22 19:16:17 +01:00
do_clear.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_copy.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
do_cprofile.c profiling related cleanup 2012-07-15 21:56:55 +02:00
do_devio.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_endksig.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_exec.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
do_exit.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
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 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_irqctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_kill.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_mcontext.c Replace MACHINE/CHIP macros with compiler macros 2012-08-06 17:49:22 +02:00
do_memset.c kernel: handle pagefaults in vm_memset() 2012-09-26 02:17:59 +02:00
do_privctl.c rename struct mem_range to minix_mem_range 2012-08-15 15:17:25 +02:00
do_profbuf.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_runctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
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 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_schedule.c Kernel: use okendpt() to resolve stored endpoints 2012-08-15 08:50:30 +00:00
do_setalarm.c kernel: rename realtime to monotonic, add realtime 2013-04-04 15:04:52 +02:00
do_setgrant.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
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 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_stime.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_sysctl.c Kernel: resolve Coverity warnings 2012-08-15 11:12:11 +00:00
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.c drop from segments physcopy/vircopy invocations 2012-06-18 12:28:40 +00:00
do_umap_remote.c Kernel: use okendpt() to resolve stored endpoints 2012-08-15 08:50:30 +00:00
do_update.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
do_vdevio.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_vmctl.c drop safemap code 2012-10-30 13:55:42 +01:00
do_vtimer.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
do_vumap.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
Makefile.inc libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00