GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSSP / dev > qssp / linux-gcc
#include <EFC/EFA_def.h>
Typedefs | |
typedef struct QSSP_point | QSSP_point |
Functions | |
unsigned long long int | QSSP_pointV0TimeCompute (const QSSP_pointV0 *point) |
Computes the time, in nanoseconds of the current time. If there is an error, -1 is returned;. | |
void | QSSP_pointV0Complete (QSSP_pointV0 *point) |
Completes the derived values in the QSSP_pointV0 structure. | |
static __inline const unsigned int * | qssp_pointV0_copy (QSSP_pointV0 *p0, QSSP_pointV0 *p1, const unsigned int *dat) |
Copies one QSSP_point structure from dat into p0 and p1. | |
static __inline unsigned long int | qssp_pointV0_esequence_compute (const QSSP_pointV0 *points) |
Computes the elapsed sequence counter value. | |
static __inline unsigned long long int | qssp_pointV0_etime_compute (const QSSP_pointV0 *points) |
Computes the elapsed sample time span. |
CVS $Id: QSSP_point_p.h,v 1.2 2011/03/29 00:14:57 russell Exp $
static __inline const unsigned int * qssp_pointV0_copy | ( | QSSP_pointV0 * | p0, | |
QSSP_pointV0 * | p1, | |||
const unsigned int * | dat | |||
) | [static] |
Copies one QSSP_point structure from dat into p0 and p1.
p0 | The target sample point structure 0 | |
p1 | The target sample point structure 1 | |
dat | The source data |
References _QSSP_pointV0::gemClock, QSSP_pointV0Complete(), _QSSP_pointV0::relative, _QSSP_pointV0::sequence, _QSSP_pointV0::status, _QSSP_pointV0::time, and _QSSP_pointV0::timetones.
Referenced by QSSP_spanV0DecodeOne(), QSSP_spanV0DecodeTwo(), QSSP_spanV1DecodeOne(), and QSSP_spanV1DecodeTwo().
static __inline unsigned long int qssp_pointV0_esequence_compute | ( | const QSSP_pointV0 * | points | ) | [static] |
Computes the elapsed sequence counter value.
points | The beginning and ending event sample points |
References _QSSP_pointV0::relative, and _QSSP_pointV0::sequence.
Referenced by QSSP_spanV0Complete(), and QSSP_spanV1Complete().
static __inline unsigned long long int qssp_pointV0_etime_compute | ( | const QSSP_pointV0 * | points | ) | [static] |
Computes the elapsed sample time span.
points | The beginning and ending event sample points |
References _QSSP_pointV0::time.
Referenced by QSSP_spanV0Complete(), and QSSP_spanV1Complete().
unsigned long long int QSSP_pointV0Complete | ( | QSSP_pointV0 * | point | ) |
Completes the derived values in the QSSP_pointV0 structure.
point | The sample point header to complete |
Referenced by pointV0_transfer(), qssp_pointV0_copy(), QSSP_spanV0DecodeDiff(), and QSSP_spanV1DecodeDiff().
unsigned long long int QSSP_pointV0TimeCompute | ( | const QSSP_pointV0 * | point | ) |
Computes the time, in nanoseconds of the current time. If there is an error, -1 is returned;.
point | The sample point header to compute the time of |
Referenced by QSSP_pointV0Complete().