GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EFC / V4-2-2
Constituent: dgfc     Tag: linux-gcc
#include "EFC/GFC_statsPrint.h"
#include "GFC_statsDef.h"
#include "EFC/GFC_V2_status.h"
#include "GFC_resultDef.h"
#include "EDS/ECR_cal.h"
#include <stdio.h>
#include <string.h>
Include dependency graph for GFC_statsPrint.c:
Defines | |
#define | ORDER_K_NEW_LINE 0xff |
Order to print a new line. | |
#define | ORDER_K_SUBTRACT 0xfe |
Order to subtract the next two values, title index is the 3rd. | |
#define | ORDER_K_ADD 0xfd |
Order to add values the next N parameters, (written as TITLE, N, <add indexes>. | |
Enumerations | |
enum | _TITLE_K { TITLE_K_ANY_VETO = (64 + 0), TITLE_K_PASS = (65 + 0) } |
Derived statistics titles. More... | |
Functions | |
static void | printHeader (const unsigned char *caption, int nenergies, const unsigned int *eneriges) |
Prints the header line of the statistics table. | |
static void | printBody (const GFC_stats *stats, unsigned int vetoes, int nenergies, const unsigned char titles[][18], const unsigned char *orders, int cnt, int flag) |
Prints the body of the statistics table. | |
void | GFC_statsPrint (const GFC_stats *stats, unsigned int vetoes) |
Prints the statistics block in ASCII format to standard output. | |
void | GFC_statsAltPrint (const GFC_stats *stats, unsigned int vetoes, int nenergies, const unsigned int *energies) |
Prints the statistics block in ASCII format to standard output. | |
Variables | |
static const unsigned char | Titles [66][18] |
The title lines for each of the statistical quantities. | |
static const unsigned char | AllOrder [] |
Indicates the order that the fields should be printed. | |
static unsigned char | SurvivorOrder [] |
Indicates the order that the fields should be printed. | |
static unsigned char | Totals [] |
Indicates the order that the fields should be printed. |
CVS $Id: GFC_statsPrint.c,v 1.6 2008/06/09 16:44:26 russell Exp $
|
Derived statistics titles.
|
|
Prints the statistics block in ASCII format to standard output.
|
|
Prints the statistics block in ASCII format to standard output.
|
|
Prints the body of the statistics table.
|
|
Prints the header line of the statistics table.
|
|
Indicates the order that the fields should be printed.
|
|
Indicates the order that the fields should be printed.
|
|
Initial value: { STAT_K_NOVETOES }
|