Newsgroups: comp.parallel.pvm
From: eve_li@btgmax.zko.dec.com (Eve Li)
Subject: pvm message passing timing
Organization: Digital Equipment Corporation
Date: 3 Aug 1995 01:14:44 GMT
Message-ID: <3vp7u4$8ue@nntpd.lkg.dec.com>

I looked at the example director of pvm, and find most of the examples
are timed using gettimeofday instead of clock(3), which gives you both
user and system time instead of ellapsed time. In a multitasking system,
the wall clock time (get from gettimeofday) seems to be inaccurate than
clock (the time spent by the process). Can someone discuss the pros
and cons of both scheme in measuring times took by pvm for passing
messages, Esp, why does one choose gettimeofday instead of clock? 
Thanks. 
eve

