GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / V0-2-0 > dhfc / sun-gcc
#include <XFC/HFC_stats.h>
#include <HFC_statsDef.h>
#include <HFC_resultDef.h>
#include <PBI/FFS.ih>
#include <string.h>
Functions | |
static __inline void | accumulate (unsigned int cnts[32], unsigned int status) |
void | HFC_statsAccumulate (HFC_stats *stats, const HFC_result *beg, const HFC_result *end) |
Accumulates the statistics from a vector of event-by-event filtering results. | |
void | HFC_statsClear (HFC_stats *stats) |
Clears the statistics block. | |
int | HFC_statsSizeof (void) |
Returns the size, in bytes, of the statistics table. |
CVS $Id: HFC_stats.c,v 1.2 2011/03/28 20:50:57 russell Exp $
void HFC_statsAccumulate | ( | HFC_stats * | stats, | |
const HFC_result * | beg, | |||
const HFC_result * | end | |||
) |
Accumulates the statistics from a vector of event-by-event filtering results.
stats | The statistics block to accumulate into | |
beg | The first result vector in the array to accumulate | |
end | The last (actually one past the last) result vector in the array to accumulate |
References _HFC_stats::cnts, and _HFC_result::status.
void HFC_statsClear | ( | HFC_stats * | stats | ) |
Clears the statistics block.
stats | The statistics block to clear. |
int HFC_statsSizeof | ( | void | ) |
Returns the size, in bytes, of the statistics table.