PMTIMEWAIT(3)
PM Programmer's Manual
PMTIMEWAIT(3)
NAME
pmTimeWait - get timestamps

SYNOPSIS
int pmTimeWait(pmContext *pmc, double *timep);

ARGUMENTS
pmContext * pmc
IN
pmContext object
double * timep
OUT
Four timestamps

IMPLEMENTATION LEVEL
OPTIONAL (GLOBAL_CLOCK)

DESCRIPTION
If timestamp data has already been returned, pmTimeWait() returns PM_SUCCESS and four timestamp values are stored in the array pointed by timep, otherwise ENOENT is returned.

NOTES
Returned timestamps are:
timep[0] sent time at local node
timep[1] received time at local node
timep[2] received time at remote node
timep[3] sent time at remote node
All timestamps are represented in seconds.

RETURN VALUES
PM_SUCCESS Success
ENOENT No timestamp returned yet


CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003 PC Cluster Consortium.