GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / V0-3-0 > ddfc / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

DFC_stats.c File Reference

Provides routines to clear and accumulate and the summary statistics of the Diagnostic filtering process. More...

#include <XFC/DFC_stats.h>
#include <DFC_statsDef.h>
#include <DFC_resultDef.h>
#include <PBI/FFS.ih>
#include <string.h>

Functions

static __inline void accumulate (unsigned int cnts[32], unsigned int status)
void DFC_statsAccumulate (DFC_stats *stats, const DFC_result *beg, const DFC_result *end)
 Accumulates the statistics from a vector of event-by-event filtering results.
void DFC_statsClear (DFC_stats *stats)
 Clears the statistics block.
int DFC_statsSizeof (void)
 Returns the size, in bytes, of the statistics table.


Detailed Description

Provides routines to clear and accumulate and the summary statistics of the Diagnostic filtering process.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: DFC_stats.c,v 1.2 2011/03/28 20:50:56 russell Exp $

Function Documentation

void DFC_statsAccumulate ( DFC_stats stats,
const DFC_result beg,
const DFC_result end 
)

Accumulates the statistics from a vector of event-by-event filtering results.

Parameters:
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 _DFC_stats::cnts, and _DFC_result::status.

void DFC_statsClear ( DFC_stats stats  ) 

Clears the statistics block.

Parameters:
stats The statistics block to clear.

int DFC_statsSizeof ( void   ) 

Returns the size, in bytes, of the statistics table.

Returns:
The size, in bytes, of the statistics table


Generated on Wed Jan 4 14:17:33 2012 by  doxygen 1.5.8