Subject: process execution time
To: None <netbsd-help@netbsd.org>
From: None <brook@biology.nmsu.edu>
List: netbsd-help
Date: 10/01/2004 11:42:09
One of my students is trying to measure the execution time of
processes and has tried a number of ways, including getrusage(),
gettimeofday(), and clock().  It appears that at certain times two
consecutive calls to these functions suggest that the clock is not
monotonically increasing.  Can this really be the case?  How should
one profile the execution time of parts of programs?

Thanks for your help.

Cheers,
Brook