GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-10

Constituent: pbs     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

PTS.c.sx-xxx-xxx File Reference

Implements the SUN/SOLARIS version of the PTS routines. More...

#include "PBS/PTS.h"

Include dependency graph for PTS.c.sx-xxx-xxx:


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.

Detailed Description

Implements the SUN/SOLARIS version of the PTS routines.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: PTS.c.sx-xxx-xxx,v 1.3 2004/12/07 16:13:13 russell Exp $

Function Documentation

unsigned int PTS_frequency void   ) 
 

Get the frequency of the PTS clock.

Returns:
The frequency, in Hertz, to the processor clock

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.

unsigned int PTS_nsecs_to_ptus unsigned int  nanoseconds  ) 
 

Convert a number of nanoseconds to PTUs.

Parameters:
nanoseconds The number of nanoseconds to convert to PTUs
Returns:
The number of equivalent PTUs

unsigned int PTS_ptus_to_nsecs unsigned int  ptus  ) 
 

Convert a number of ptus to nanoseconds.

Parameters:
ptus The number of PTUs to convert to nanoseconds
Returns:
The number of equivalent PTUs


Generated on Mon Nov 20 05:45:27 2006 by  doxygen 1.4.4