Section: PVM Version 3.4 (3PVM) Updated: 20 February, 1994 Local index
pvm_hostsync - Get time-of-day clock from PVM host.
C #include <sys/time.h>
int info = pvm_hostsync( int host, struct timeval *clk,
struct timeval *delta )
Fortran call pvmfhostsync( host, clksec, clkusec, deltasec, deltausec, info )
TID of host.
(or clksec and clkusec)
Returns time-of-day clock sample from host.
(or deltasec and deltausec)
Returns difference between local clock and remote host clock.
samples the time-of day clock of a host in the virtual machine
and returns both the clock value and the difference between
local and remote clocks.
To reduce the delta error due to message transit time,
local clock samples are taken before and after reading the remote clock.
Delta is the difference between the mean local clocks and remote clock.
Note that the delta time can be negative.
The microseconds field is always normalized to 0..999999,
while the sign of the seconds field gives the sign of the delta.
3.25 Sec = 3,250000
0 = 0,0
-1 uSec = -1,999999
-1 Sec = -1,000000
-1.1 Sec = -2,999000
if clk or delta is a null pointer,
that parameter is not returned.
If pvm_hostsync is successful,
it returns PvmOk.
These error conditions can be returned by
pvmd not responding.
specified host not in virtual machine.
host is unreachable (and thus possibly failed)
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:53:19 GMT, April 16, 2011