GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSSP / V0-0-0

Constituent: qsspprint     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QSSP_samplesPrint.c File Reference

Science Statistics Physics sample print utilities. More...

#include "QSSP/QSSP_sample.h"
#include "QSSP/QSSP_samplesPrint.h"
#include "QSSP/QSSP_labels.h"
#include <time.h>
#include <stdio.h>

Include dependency graph for QSSP_samplesPrint.c:


Defines

#define SA_UTB_OFFSET   0x3a4fc880
 The offset between Spectrum-Astro Epoch and UTB.

Functions

static void print_separator (int cnt)
 Prints a standard separator line.
static void print_titles (const QSSP_sample *samples, int beg, int cnt)
 Prints the title line for the specified array of samples.
static int print_point_ull (const char *label, const char *format, const unsigned long long int *val, int cnt)
 Print the specified series of 64-bit integers (assumed stride of the size of a QSSP_sample) properly spaced values.
static int print_point_ui (const char *label, const char *format, const unsigned int *val, int cnt)
 Print the specified series of integers (assumed stride of the size of a QSSP_sample) properly spaced values.
static void print_point (const QSSP_sample *samples, int cnt, int which)
 Prints the sample header for the specified array of samples.
static void print_epoints (const QSSP_sample *samples, int cnt)
 Prints the elapsed information from the sample headers for the specified array of samples.
static void print_points (const QSSP_sample *samples, int cnt)
 Prints the sample headers for the specified array of samples.
static void print_stats (const QSSP_sample *samples, int cnt, const QSSP_labels *labels)
 Prints the statistics counters of the specified array of samples.
void QSSP_samplesPrint (const QSSP_sample *samples, int beg, int cnt, const QSSP_labels *labels)
 Prints the specified list of samples.

Detailed Description

Science Statistics Physics sample print utilities.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: QSSP_samplesPrint.c,v 1.1.1.1 2008/04/02 01:19:25 russell Exp $

Define Documentation

#define SA_UTB_OFFSET   0x3a4fc880
 

The offset between Spectrum-Astro Epoch and UTB.

Parameters:
SA_UTB_OFFSET 


Function Documentation

static void print_epoints const QSSP_sample samples,
int  cnt
[static]
 

Prints the elapsed information from the sample headers for the specified array of samples.

Parameters:
samples The array of samples to print
cnt The count of samples

static void print_point const QSSP_sample samples,
int  cnt,
int  which
[static]
 

Prints the sample header for the specified array of samples.

Parameters:
samples The array of samples to print
cnt The count of samples
which Which herder to print
  • 0 = beginning
  • 1 = ending

static int print_point_ui const char *  label,
const char *  format,
const unsigned int *  val,
int  cnt
[static]
 

Print the specified series of integers (assumed stride of the size of a QSSP_sample) properly spaced values.

Returns:
The number of characters printed, less the new line
Parameters:
label The name/label of the values
format The format statement
val Pointer to the first value
cnt The number of values

static int print_point_ull const char *  label,
const char *  format,
const unsigned long long int *  val,
int  cnt
[static]
 

Print the specified series of 64-bit integers (assumed stride of the size of a QSSP_sample) properly spaced values.

Returns:
The number of characters printed, less the new line
Parameters:
label The name/label of the values
format The format statement
val Pointer to the first value
cnt The number of values

static void print_points const QSSP_sample samples,
int  cnt
[static]
 

Prints the sample headers for the specified array of samples.

Parameters:
samples The array of samples to print the sample points for
cnt The count of samples

static void print_separator int  cnt  )  [static]
 

Prints a standard separator line.

Parameters:
cnt The number of records

static void print_stats const QSSP_sample samples,
int  cnt,
const QSSP_labels *  labels
[static]
 

Prints the statistics counters of the specified array of samples.

Parameters:
samples The array of samples to print
cnt The count of samples
labels The sourcr of titles for the statistics counters

static void print_titles const QSSP_sample samples,
int  beg,
int  cnt
[static]
 

Prints the title line for the specified array of samples.

Parameters:
samples The array of samples to print
beg The record number of the first sample
cnt The count of samples

void QSSP_samplesPrint const QSSP_sample samples,
int  beg,
int  cnt,
const QSSP_labels *  labels
 

Prints the specified list of samples.

Parameters:
samples The array of samples to print
beg The record number of the first sample
cnt The count of samples
labels The labels of the statistics counters


Generated on Wed Apr 2 01:36:43 2008 by  doxygen 1.4.4