GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSSP / V1-1-1 > qsspprint / rhel4-32


Interface   Data Structures   File List   Data Fields   Globals  

QSSP_spanPrint.c File Reference

Prints one QSSP_span structure. More...

#include <QSSP/QSSP_spanPrint.h>
#include <QSSP/QSSP_span.h>
#include <stdio.h>

Functions

static void print_header (void)
 Prints the standard title/header line.
static void printPointV0 (const QSSP_pointV0 *point, const char *which)
 Prints the statistics information for the first or last event in the sample.
static void print_pointsV0 (const QSSP_pointV0 *points)
 Prints version 0 for the beginning and ending sample points.
static void print_esequence (unsigned int esequence)
 Prints the elapsed sequence count for the sample. This is the difference of the GEM sequence counter at the ending and beginning of the sample. It does not constitute the number of events seen, of anything of the sort. This is because, in general, more than one EPU is involved in the data taking.
static void print_etime (unsigned long long int etime)
 Prints the elapsed time, dtime, given in nanoseconds, in a secs.usecs format.
void QSSP_spanV0Print (const QSSP_spanV0 *span)
 Prints info in the QSSP_spanV0.
void QSSP_spanV1Print (const QSSP_spanV1 *span)
 Prints info in the QSSP_spanV1.


Detailed Description

Prints one QSSP_span structure.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QSSP_spanPrint.c,v 1.2 2011/03/29 00:14:57 russell Exp $

Function Documentation

static void print_esequence ( unsigned int  esequence  )  [static]

Prints the elapsed sequence count for the sample. This is the difference of the GEM sequence counter at the ending and beginning of the sample. It does not constitute the number of events seen, of anything of the sort. This is because, in general, more than one EPU is involved in the data taking.

Parameters:
esequence The elapsed sequence number

Referenced by QSSP_spanV0Print(), and QSSP_spanV1Print().

static void print_etime ( unsigned long long int  etime  )  [static]

Prints the elapsed time, dtime, given in nanoseconds, in a secs.usecs format.

Parameters:
etime The elapsed time in nano-seconds

Referenced by QSSP_spanV0Print(), and QSSP_spanV1Print().

static void print_pointsV0 ( const QSSP_pointV0 points  )  [static]

Prints version 0 for the beginning and ending sample points.

Parameters:
points An array of two sample points representing the beginning and ending sample points

References printPointV0().

Referenced by QSSP_spanV0Print(), and QSSP_spanV1Print().

static void printPointV0 ( const QSSP_pointV0 point,
const char *  which 
) [static]

Prints the statistics information for the first or last event in the sample.

Parameters:
point The sample point to print
which A character string indicating which statistics (first or last is being printed.

References _QSSP_pointV0::gemClock, _QSSP_pointV0::relative, _QSSP_pointV0::sequence, and _QSSP_pointV0::timetones.

Referenced by print_pointsV0().

void QSSP_spanV0Print ( const QSSP_spanV0 span  ) 

Prints info in the QSSP_spanV0.

Parameters:
span Pointer to the QSSP_spanV0 structure

References _QSSP_spanV0::esequence, _QSSP_spanV0::etime, _QSSP_spanV0::points, print_esequence(), print_etime(), print_header(), and print_pointsV0().

void QSSP_spanV1Print ( const QSSP_spanV1 span  ) 

Prints info in the QSSP_spanV1.

Parameters:
span Pointer to the QSSP_spanV1 structure

References _QSSP_spanV1::esequence, _QSSP_spanV1::etime, _QSSP_spanV1::points, print_esequence(), print_etime(), print_header(), and print_pointsV0().

Referenced by QASC_samplePrint().


Generated on Fri Sep 30 19:01:56 2011 by  doxygen 1.5.8