minix/servers/vm
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
..
arch arm:remove pre 1:1 mapping workarounds. 2013-06-12 16:42:20 +02:00
alloc.c vm: new secondary cache code 2013-04-24 10:18:16 +00:00
break.c vm: new secondary cache code 2013-04-24 10:18:16 +00:00
cache.c vm: new secondary cache code 2013-04-24 10:18:16 +00:00
cache.h vm: new secondary cache code 2013-04-24 10:18:16 +00:00
cavl_if.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
cavl_impl.h Fix VM -Wall warnings and enable -Werror 2011-06-01 11:30:58 +02:00
exit.c Implement getrusage 2013-07-01 23:00:47 +02:00
fdref.c vm: mmap support 2013-05-31 15:42:01 +00:00
fdref.h vm: mmap support 2013-05-31 15:42:01 +00:00
fork.c vm: new secondary cache code 2013-04-24 10:18:16 +00:00
glo.h vm: mmap support 2013-05-31 15:42:01 +00:00
main.c Implement getrusage 2013-07-01 23:00:47 +02:00
Makefile vm: mmap support 2013-05-31 15:42:01 +00:00
mem_anon.c Implement getrusage 2013-07-01 23:00:47 +02:00
mem_anon_contig.c Implement getrusage 2013-07-01 23:00:47 +02:00
mem_cache.c Implement getrusage 2013-07-01 23:00:47 +02:00
mem_directphys.c Implement getrusage 2013-07-01 23:00:47 +02:00
mem_file.c Implement getrusage 2013-07-01 23:00:47 +02:00
mem_shared.c Implement getrusage 2013-07-01 23:00:47 +02:00
memlist.h VM: only single page chunks 2012-09-18 13:17:49 +02:00
memtype.h Implement getrusage 2013-07-01 23:00:47 +02:00
mmap.c vm: mmap support 2013-05-31 15:42:01 +00:00
pagefaults.c Implement getrusage 2013-07-01 23:00:47 +02:00
pb.c vm: new secondary cache code 2013-04-24 10:18:16 +00:00
phys_region.h VM: memtype fix 2013-04-24 10:18:15 +00:00
proto.h Implement getrusage 2013-07-01 23:00:47 +02:00
pt.h vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
queryexit.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
region.c Implement getrusage 2013-07-01 23:00:47 +02:00
region.h vm: mmap support 2013-05-31 15:42:01 +00:00
regionavl.c vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
regionavl.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
regionavl_defs.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
rs.c vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
sanitycheck.h vm: new secondary cache code 2013-04-24 10:18:16 +00:00
slaballoc.c vm: new secondary cache code 2013-04-24 10:18:16 +00:00
unavl.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
util.h vm: use assert() instead of vm_assert(); remove vm_assert(). 2010-04-12 12:37:28 +00:00
utility.c Implement getrusage 2013-07-01 23:00:47 +02:00
vfs.c vm: bugfix: cover vfs_request-in-callback case 2013-06-05 15:02:56 +00:00
vm.h vm: new secondary cache code 2013-04-24 10:18:16 +00:00
vmproc.h Implement getrusage 2013-07-01 23:00:47 +02:00