GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-10
Constituent: pbs     Tag: sun-gcc
#include "PBS/impl/SPIN_time.h.sx-xxx-scc"
Include dependency graph for SPIN.ih.sx-xxx-scc:
Defines | |
#define | SPIN_PTUS_TO_NSECS(_ptus) _ptus * SPIN_K_NSECS_PER_PTU; |
Converts a short range processor spin time to nanoseconds. | |
#define | SPIN_NSECS_TO_PTUS(_nsecs) (_nsecs + SPIN_K_NSECS_PER_PTU - 1)/SPIN_K_NSECS_PER_PTU; |
Converts a short range nanoseconds to a processor spin time. | |
Functions | |
SPIN__EXP_FNC unsigned int | SPIN__nsecs_to_ptus (unsigned int nsecs) |
Converts a number of nanoseconds to PTUs. | |
SPIN__EXP_FNC unsigned int | SPIN__ptus_to_nsecs (unsigned int ptus) |
SPIN__EXP_FNC SPIN_time | SPIN__curtime (void) |
Returns the current time in units of PTUs. |
CVS $Id: SPIN.ih.sx-xxx-scc,v 1.4 2004/12/07 16:13:08 russell Exp $
|
Converts a short range nanoseconds to a processor spin time.
|
|
Converts a short range processor spin time to nanoseconds.
|
|
Returns the current time in units of PTUs.
The customary use of this routine is to strobe the starting time, then use the return value along with SPIN__check() or SPIN__wait() to allow a specified amount of time to elapsed from the starting time. |
|
Converts a number of nanoseconds to PTUs.
|
|
|