GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / dev > edspbs / sun-gcc
#include <EDS/TMR.h>
Functions | |
int | TMR_initialize (void) |
Initializes the TMR facility. | |
TMR_tick | TMR_nsecs_to_ticks (int nanoseconds) |
Convert a number of nanoseconds to PTUs. | |
unsigned int | TMR_ticks_to_nsecs (TMR_tick ticks) |
Convert a number of ticks to nanoseconds. | |
TMR_usecs_nsecs | TMR_ticks_to_usecs_nsecs (TMR_tick ticks) |
Convert a number of ticks useconds.nanoseconds. | |
unsigned int | TMR_frequency (void) |
Get the frequency of the processor timer. |
CVS $Id: TMR.sx-xxx-xxx.c,v 1.3 2011/03/25 22:16:56 russell Exp $
unsigned int TMR_frequency | ( | void | ) |
Get the frequency of the processor timer.
int TMR_initialize | ( | void | ) |
Initializes the TMR 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.
int TMR_nsecs_to_ticks | ( | int | nanoseconds | ) |
Convert a number of nanoseconds to PTUs.
nanoseconds | The number of nanoseconds to convert to PTUs |
unsigned int TMR_ticks_to_nsecs | ( | TMR_tick | ticks | ) |
Convert a number of ticks to nanoseconds.
ticks | The number of ticks to convert to nanoseconds |
TMR_usecs_nsecs TMR_ticks_to_usecs_nsecs | ( | TMR_tick | ticks | ) |
Convert a number of ticks useconds.nanoseconds.
ticks | The number of ticks to convert |
References _TMR_usecs_nsecs::nsecs, and _TMR_usecs_nsecs::usecs.