GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > IPBS / V0-0-1
Constituent: pbs     Tag: i845e
#include <stdlib.h>
#include <time.h>
#include "IPBS/TSS.h"
#include "IPBS/WCT.h"
#include "WCT_pvtdefs.ih"
Include dependency graph for TSS.c:
Defines | |
#define | get_time() WCT__utb_get() |
Gets the time in the local representation. | |
#define | NSECS_IN_A_SECOND 1000000000ll |
Convenience symbol for a billion. | |
Functions | |
timespec | TSS_nsecxTOtodAdd (long long int delta) |
Computes the time specification by adding a number of nanoseconds to the current time. | |
timespec | TSS_nsecsTOtodAdd (unsigned int delta) |
Computes the time specification by adding a number of nanoseconds to the current time. | |
timespec | TSS_usecsTOtodAdd (unsigned int delta) |
Computes the time specification by adding a number of microseconds to the current time. | |
timespec | TSS_secsTOtodAdd (unsigned int delta) |
Computes the time specification by adding a number of seconds to the current time. | |
timespec | TSS_from_wct (WCT_time wct) |
Converts a Wall Clock Time to a struct timespec. |
CVS $Id: TSS.c,v 1.1.1.1 2006/02/10 21:45:34 saxton Exp $
A timespec structure is a standard structure found in the "C"/Unix world. It represents time as two fields in a structure, a seconds field and a microseconds field. Performing simple operations, such as addition and subtraction, is not completely trivial, so this file provides a set of standard manipulation routines.
|
Converts a Wall Clock Time to a struct timespec.
|
|
Computes the time specification by adding a number of nanoseconds to the current time.
|
|
Computes the time specification by adding a number of nanoseconds to the current time.
|
|
Computes the time specification by adding a number of seconds to the current time.
|
|
Computes the time specification by adding a number of microseconds to the current time.
|