GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-8
Constituent: pbs     Tag: linux-gcc
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PBS/PTS.h"
Include dependency graph for PTS.c.lx-xxx-xxx:
Data Structures | |
struct | _PTS_parameters |
Defines the parameters needed to determine the processor clock speed and to convert this speed to nanoseconds. More... | |
Typedefs | |
typedef _PTS_parameters | PTS_parameters |
Typedef for struct _PTS_parameters. | |
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 int | PTS_ptus_to_nsecs (unsigned int ptus) |
Convert a number of ptus to nanoseconds. | |
unsigned int | PTS_frequency (void) |
Get the frequency of the PTS clock. | |
Variables | |
static PTS_parameters | PTS_Parameters = {0.0, 0.0} |
Local storage for the PTS parameters. |
CVS $Id: PTS.c.lx-xxx-xxx,v 1.3 2004/12/07 16:13:13 russell Exp $
|
Get the frequency of the PTS clock.
|
|
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. |
|
Convert a number of nanoseconds to PTUs.
|
|
Convert a number of ptus to nanoseconds.
|