[mod.computers.apollo] Help with BSD4.2

krowitz@EDDIE.MIT.EDU@mit-kermit.UUCP (David Krowitz) (01/06/87)

Is there a BSD 4.2 system call which will return the number of
page faults that a process has caused? I'd like to compare
the performance of a couple of algorithms in terms of efficient
memory usage as well as CPU time. 

				Thanks,
				David Krowitz

mit-erl!mit-kermit!krowitz@eddie.mit.edu
mit-erl!mit-kermit!krowitz@mit-eddie.arpa

gwyn@BRL.ARPA (Doug Gwyn, VLD/VMB) (01/06/87)

getrusage(2) returns resource usage (including page faults) for
the current process and wait3(2) returns resource usage for a
terminated child.