GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> THS / dev > ths / rhel5-64
#include <THS/THS.h>
#include <PBS/WCT.h>
#include <MSG/MSG_pubdefs.h>
#include <PBI/Endianness.h>
#include <string.h>
Functions | |
void | THS_lsfStatClear (LSF_statsHdr *statsHdr) |
Clear the LSF_statsHdr structure. | |
unsigned int | THS_lsfStatFirstEvt (LSF_statsHdr *statsHdr, unsigned long long seq, unsigned int gemClock, unsigned int gemStrobe) |
Sets first event parms within LSF_statsHdr. | |
void | THS_lsfStatIncEvt (LSF_statsHdr *statsHdr, int increment) |
Increment event counter in LSF_statsHdr structure. | |
unsigned int | THS_lsfStatLastEvt (LSF_statsHdr *statsHdr, unsigned long long seq, unsigned int gemClock, unsigned int gemStrobe) |
Sets last event parms within LSF_statsHdr. |
CVS $Id: THS_lsf.c,v 1.2 2011/03/26 19:33:05 russell Exp $
Moved out of file THS_gem.c to improve packaging of constituent ths4ddt.
void THS_lsfStatClear | ( | LSF_statsHdr * | statsHdr | ) |
Clear the LSF_statsHdr structure.
statsHdr | pointer to LSF_statsHdr structure to fill in |
unsigned int THS_lsfStatFirstEvt | ( | LSF_statsHdr * | statsHdr, | |
unsigned long long | seq, | |||
unsigned int | gemClock, | |||
unsigned int | gemStrobe | |||
) |
Sets first event parms within LSF_statsHdr.
statsHdr | pointer to LSF_statsHdr structure to fill in | |
seq | extended seqence number of the event | |
gemClock | evt clock register read from GEM contributor of event | |
gemStrobe | evt PPS cock register read from GEM contributor of event |
References THS_prevTimtoneFromEvent().
void THS_lsfStatIncEvt | ( | LSF_statsHdr * | statsHdr, | |
int | increment | |||
) |
Increment event counter in LSF_statsHdr structure.
statsHdr | pointer to LSF_statsHdr structure to fill in | |
increment | number of events to increase evt count by |
unsigned int THS_lsfStatLastEvt | ( | LSF_statsHdr * | statsHdr, | |
unsigned long long | seq, | |||
unsigned int | gemClock, | |||
unsigned int | gemStrobe | |||
) |
Sets last event parms within LSF_statsHdr.
statsHdr | pointer to LSF_statsHdr structure to fill in | |
seq | extended seqence number of the event | |
gemClock | evt clock register read from GEM contributor of event | |
gemStrobe | evt PPS cock register read from GEM contributor of event |
References THS_prevTimtoneFromEvent().