GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / dev > pbs / sun-gcc
#include <PBS/PTS.h>
Functions | |
int | PTS_initialize (void) |
Initializes the PTS facility. | |
unsigned int | PTS_nsecs_to_ptus (unsigned int nanoseconds) |
Convert a number of nanoseconds to PTUs. | |
unsigned long long int | PTS_nsecx_to_ptux (unsigned long long int nanoseconds) |
unsigned int | PTS_ptus_to_nsecs (unsigned int ptus) |
Convert a number of ptus to nanoseconds. | |
unsigned long long int | PTS_ptux_to_nsecx (unsigned long long int ptus) |
unsigned int | PTS_frequency (void) |
Get the frequency of the PTS clock. |
CVS $Id: PTS.c.sx-xxx-xxx,v 1.5 2011/03/24 23:05:47 apw Exp $
unsigned int PTS_frequency | ( | void | ) |
Get the frequency of the PTS clock.
Referenced by PBS_initialize2(), and WUT_frequency().
int PTS_initialize | ( | void | ) |
Initializes the PTS facility.
This is a one time only call to initialize internal data structures. This routine should be called as part of the library initialization sequence.
Referenced by PBS_initialize2().
unsigned int PTS_nsecs_to_ptus | ( | unsigned int | nanoseconds | ) |
Convert a number of nanoseconds to PTUs.
nanoseconds | The number of nanoseconds to convert to PTUs |
unsigned int PTS_ptus_to_nsecs | ( | unsigned int | ptus | ) |
Convert a number of ptus to nanoseconds.
ptus | The number of PTUs to convert to nanoseconds |