GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel6-32
#include <PBS/TSS.h>
#include <impl/TOV_pvtdefs.h.px-xxx-xxx>
Defines | |
#define | NSECS_IN_A_SECOND (1000 * 1000 * 1000) |
Convenience symbol for a billion. | |
Functions | |
TOV | TOV_add_nsecs (TOV tov, unsigned int dnsecs) |
Returns the timeout value delta nanoseconds from the specified tov. | |
TOV | TOV_add_nsecx (TOV tov, signed long long int dnsecx) |
Returns the timeout value delta nanoseconds from the specified tov. | |
TOV | TOV_from_nsecx (long long int dnsecx) |
Returns the timeout value dsecx nanoseconds from the current time. | |
TOV | TOV_from_nsecs (unsigned int dnsecs) |
Returns the timeout value dnsecs nanoseconds from the current time. | |
TOV | TOV_from_usecs (unsigned int dusecs) |
Returns the timeout value delta microseconds from the current time. | |
TOV | TOV_from_secs (unsigned int dsecs) |
Returns the timeout value dsecs seconds from the current time. | |
TOV | TOV_from_wct (WCT_time wct) |
Returns the timeout value corresponding to the specified Wall Clock Time wct. |
CVS $Id: TOV.c.px-xxx-xxx,v 1.6 2011/03/24 23:05:47 apw Exp $
Returns the timeout value delta nanoseconds from the specified tov.
tov | The TOV to add to | |
dnsecs | The number of nanoseconds to add. |
The | timeout value delta nanoseconds from tov. |
References NSECS_IN_A_SECOND, _TOV_u::tov, and _TOV_u::ts.
Returns the timeout value delta nanoseconds from the specified tov.
tov | The TOV to add to | |
dnsecx | The number of nanoseconds to add. |
The | timeout value delta nanoseconds from tov. |
References NSECS_IN_A_SECOND, _TOV_u::tov, and _TOV_u::ts.
Referenced by WUT_keepalive_rtn().
TOV TOV_from_nsecs | ( | unsigned int | dnsecs | ) |
Returns the timeout value dnsecs nanoseconds from the current time.
dnsecs | The delta time in nanoseconds |
The | timeout value dnsecs nanoseconds from the current time. |
References _TOV_u::tov, _TOV_u::ts, and TSS_nsecsTOtodAdd().
Referenced by TASK_pause(), WUT_sys_connect(), and wut_sys_shutdown().
TOV TOV_from_nsecx | ( | long long int | dnsecx | ) |
Returns the timeout value dsecx nanoseconds from the current time.
dnsecx | The delta time in extended nanoseconds. |
The | timeout value delta nanoseconds from the current time. |
References _TOV_u::tov, _TOV_u::ts, and TSS_nsecxTOtodAdd().
TOV TOV_from_secs | ( | unsigned int | dsecs | ) |
Returns the timeout value dsecs seconds from the current time.
dsecs | The delta time in seconds. |
The | timeout value dsecs seconds from the current time. |
References _TOV_u::tov, _TOV_u::ts, and TSS_secsTOtodAdd().
TOV TOV_from_usecs | ( | unsigned int | dusecs | ) |
Returns the timeout value delta microseconds from the current time.
dusecs | The delta time in microseconds. |
The | timeout value usecs microseconds from the current time. |
References _TOV_u::tov, _TOV_u::ts, and TSS_usecsTOtodAdd().
Returns the timeout value corresponding to the specified Wall Clock Time wct.
wct | The Wall Clock Time to convert to a TOV. |
The | corresponding TOV |
References _TOV_u::tov, _TOV_u::ts, TSS_from_wct(), and WCT_K_UTB_OFFSET_IN_SECS.