GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSSP / V1-0-0
Constituent: qssp     Tag: linux-gcc
#include "QSSP/QSTD.h"
#include "QSSP/QSSP_span.h"
#include "QSSP/QSTD_labels.h"
#include "QSTD_pvtdefs.h"
#include "dprintf.h"
#include "QSP/QFCP_cache.h"
#include "QSD/QFR_file.h"
#include "QSD/QFC_member.h"
#include "EFC/EFS_ids.h"
#include "LSF/LSF.h"
#include "LSF/LSF_scan.h"
#include "LSF/LSF_reason.h"
#include "LDT/BFU.h"
#include <string.h>
#include <stdlib.h>
Include dependency graph for QSTD.c:
Defines | |
#define | RND_8(_v) ((_v + 7) & ~0x7) |
Typedefs | |
typedef const unsigned int *(* | DecodeSampleV0 )(QSTD *qstd, QSTD_sampleV0 *sample, const unsigned int *dat, unsigned char bridge) |
Signature to decode a statistics sample from the input data. | |
Functions | |
static __inline QFCP_cache * | qstd_file_cache_get (void) |
Returns a pointer to the file cache. | |
static const unsigned int * | decode_statsV0_norm (QSTD *qstd, QSTD_statisticsV0 *stats, const unsigned int *dat, unsigned char bridge) |
Decodes a normal (not differenced) statistics record. | |
static const unsigned int * | decode_statsV0_diff (QSTD *qstd, QSTD_statisticsV0 *stats, const unsigned int *dat, unsigned char bridge) |
Decodes the statistics in difference format. | |
static const unsigned int * | decode_sampleV0_0 (QSTD *qstd, QSTD_sampleV0 *sample, const unsigned int *dat, unsigned char bridge) |
Decodes a format 0 sample record. | |
static const unsigned int * | decode_sampleV0_1 (QSTD *qstd, QSTD_sampleV0 *sample, const unsigned int *dat, unsigned char bridge) |
Decodes a format 1 sample record. | |
static const unsigned int * | decode_sampleV0_2 (QSTD *qstd, QSTD_sampleV0 *sample, const unsigned int *dat, unsigned char bridge) |
Decodes a format 2 sample record. | |
QSTD * | QSTD_alloc (void *must_be_null) |
Allocates and constructs a QSTD handle. | |
QSTD * | QSTD_construct (QSTD *qstd, void *must_be_null) |
The constructor for a QSTD control structure. | |
void | QSTD_destruct (QSTD *qstd) |
The destructor for a QSTD control structure. | |
const QSTD_ctx * | QSTD_ctxGet (const QSTD *qstd) |
Locates the statistics context (meta-data). | |
int | QSTD_sizeof (void *must_be_null) |
Returns the size, in bytes, of a QSTD control structure. | |
const LSF_contribution * | QSTD_updateAtDatagram (QSTD *qstd, const LSF_datagram *dgm) |
Updates the context at datagram time. | |
int | QSTD_updateAtContribution (QSTD *qstd, const LSF_contribution *ctb) |
Updates the context at datagram time. | |
static __inline void | qstd_sampleV0_add (QSTD_sampleV0 *dst, const QSTD_sampleV0 *src) |
Adds the source sample to the destination sample. | |
static __inline int | qstd_sampleV0_decode (QSTD *qstd, unsigned int type_id, unsigned char bridge, const unsigned int *dat) |
Decodes the statistics data. | |
int | QSTD_updateAtRecord (QSTD *qstd, const LSF_record *rec) |
Updates the context at record time. |
CVS $Id: QSTD.c,v 1.1 2008/06/10 22:25:45 russell Exp $
|
Signature to decode a statistics sample from the input data.
|
|
Decodes a format 0 sample record.
|
|
Decodes a format 1 sample record.
|
|
Decodes a format 2 sample record.
|
|
Decodes the statistics in difference format.
|
|
Decodes a normal (not differenced) statistics record.
|
|
Allocates and constructs a QSTD handle.
|
|
The constructor for a QSTD control structure.
|
|
Locates the statistics context (meta-data).
|
|
The destructor for a QSTD control structure.
|
|
Returns a pointer to the file cache.
|
|
Adds the source sample to the destination sample.
|
|
Decodes the statistics data.
|
|
Returns the size, in bytes, of a QSTD control structure.
|
|
Updates the context at datagram time.
|
|
Updates the context at datagram time.
|
|
Updates the context at record time.
|