GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-2-3 > lsew / rhel6-64
Functions | |
int | CDF_errCfg_sizeof (int level) |
Returns the size, in bytes of the GEM compression configuration needed to support the specified level. | |
int | CDF_errCfg_construct (CDF_errCfg *cfg, int level, void **mem) |
Constructs the CDF_erfCfg compression configuration. | |
int | CDF_err_sizeof (int level, const CDF_errCfg *cfg) |
Returns the size, in bytes of the ERR compression structure needed to support the specified level. | |
int | CDF_err_construct (CDF_err *cdf, int level, const CDF_errCfg *cfg, const LSEW_dgmFw *dgmFw, void **mem) |
Constructs the CDF_err compression context. | |
unsigned int | CDF_err_compose (CDF_err *cdf, const EDR_err *err) |
Analyzes the error contribution of TEMs. | |
unsigned int | CDF_err_compress (CDF_err *cdf, unsigned int *buf, unsigned int pos) |
Compresses the ERR contributions. |
CVS $Id: CDF_err.h,v 1.4 2011/03/26 17:35:23 russell Exp $
unsigned int CDF_err_compose | ( | CDF_err * | cdf, | |
const EDR_err * | err | |||
) |
Analyzes the error contribution of TEMs.
cdf | The error context block to compose | |
err | The unpacked error records |
cdf->to = ctids;
References _CDF_err::cal, _CDF_err::map, _CDF_err::tag, _CDF_err::tems, and _CDF_err::tkr.
unsigned int CDF_err_compress | ( | CDF_err * | cdf, | |
unsigned int * | buf, | |||
unsigned int | pos | |||
) |
Compresses the ERR contributions.
cdf | The ERR compression data formatting handle | |
buf | The output buffer | |
pos | The position of the next bit to fill |
References cdf_err_tem_classify(), _CDF_err::map, _CDF_err::tag, and _CDF_err::tems.
int CDF_err_construct | ( | CDF_err * | cdf, | |
int | level, | |||
const CDF_errCfg * | cfg, | |||
const LSEW_dgmFw * | dgmFw, | |||
void ** | mem | |||
) |
Constructs the CDF_err compression context.
Status |
cdf | The CDF_err compress context structure to fill | |
level | The maximum compression level that needs to be supported | |
cfg | Target specific configuration parameter | |
dgmFw | The datagram framework handle | |
mem | Pointer to free memory pointer, return as the the updated pointer. If cdf is equal to the current contents of mem, then mem will be advanced by the size of CDF_err, else this routine will believe that the only the variable allocation of cdf needs to be allocated. |
int CDF_err_sizeof | ( | int | level, | |
const CDF_errCfg * | cfg | |||
) |
Returns the size, in bytes of the ERR compression structure needed to support the specified level.
level | The maximum compression level to support | |
cfg | Target specific configuration |
int CDF_errCfg_construct | ( | CDF_errCfg * | cfg, | |
int | level, | |||
void ** | mem | |||
) |
Constructs the CDF_erfCfg compression configuration.
Status |
cfg | Target specific configuration | |
level | The maximum compression level that needs to be supported | |
mem | Pointer to free memory pointer, return as the the updated pointer. If cfg is equal to the current contents of mem, then mem will be advanced by the size of CDF_errCfg else this routine will believe that the only the variable allocation of cdf needs to be allocated. |
int CDF_errCfg_sizeof | ( | int | level | ) |
Returns the size, in bytes of the GEM compression configuration needed to support the specified level.
level | The maximum compression level to support |