GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel5-32
#include <PBS/WCT.h>
Functions | |
TSS_timespec | TSS_nsecxTOtodAdd (long long int delta) |
Computes the time specification by adding a number of nanoseconds to the current time. | |
TSS_timespec | TSS_nsecsTOtodAdd (unsigned int delta) |
Computes the time specification by adding a number of nanoseconds to the current time. | |
TSS_timespec | TSS_usecsTOtodAdd (unsigned int delta) |
Computes the time specification by adding a number of microseconds to the current time. | |
TSS_timespec | TSS_secsTOtodAdd (unsigned int delta) |
Computes the time specification by adding a number of seconds to the current time. | |
TSS_timespec | TSS_from_wct (WCT_time wct) |
Converts a Wall Clock Time to a struct timespec. |
CVS $Id: TSS.h,v 1.3 2011/03/24 23:05:44 apw Exp $
Provides a set of utility functions to manipulate a timespec structure. This structure stores the time as two integers, one representing the number of seconds and the other the number of nanoseconds.
struct timespec TSS_from_wct | ( | WCT_time | wct | ) |
Converts a Wall Clock Time to a struct timespec.
wct | The Wall Clock Time to convert |
References NSECS_IN_A_SECOND.
Referenced by TOV_from_wct().
struct timespec TSS_nsecsTOtodAdd | ( | unsigned int | delta | ) |
Computes the time specification by adding a number of nanoseconds to the current time.
delta | The number of microeconds to add to the current time. |
The | new time returned as a timespec structure. |
References get_time, and NSECS_IN_A_SECOND.
Referenced by TOV_from_nsecs().
struct timespec TSS_nsecxTOtodAdd | ( | long long int | delta | ) |
Computes the time specification by adding a number of nanoseconds to the current time.
delta | The number of microeconds to add to the current time. |
The | new time returned as a timespec structure. |
References get_time, and NSECS_IN_A_SECOND.
Referenced by TOV_from_nsecx().
struct timespec TSS_secsTOtodAdd | ( | unsigned int | delta | ) |
Computes the time specification by adding a number of seconds to the current time.
delta | The number of seconds to add to the current time. |
The | new time returned as a timespec structure. |
References get_time, and NSECS_IN_A_SECOND.
Referenced by TOV_from_secs().
struct timespec TSS_usecsTOtodAdd | ( | unsigned int | delta | ) |
Computes the time specification by adding a number of microseconds to the current time.
delta | The number of microeconds to add to the current time. |
The | new time returned as a timespec structure. |
References get_time, and NSECS_IN_A_SECOND.
Referenced by TOV_from_usecs().