GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-5 > edsd / sun-gcc
#include <EDS/EDS_fw.h>
#include <EDS/LCBV.h>
Functions | |
int | EDSD_sizesSizeof (void) |
Returns the size, in bytes, of the EDSD sizes control block. | |
int | EDSD_sizesConstruct (EDSD_sizesCtl *ctl, unsigned int nevts) |
Allocates and initializes the unpacking buffers. | |
unsigned int | EDSD_sizesProcess (EDSD_sizesCtl *ctl, unsigned int pktBytes, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb) |
Evaluates the sizes of the various pieces of the event. | |
void | EDSD_sizesReport (const EDSD_sizesCtl *ctl) |
Reports the results. | |
int | EDSD_sizesDestruct (EDSD_sizesCtl *ctl) |
DeAllocates and the sizes control structure. |
CVS $Id: EDSD_sizes.h,v 1.4 2011/03/25 22:16:55 russell Exp $
int EDSD_sizesConstruct | ( | EDSD_sizesCtl * | ctl, | |
unsigned int | nevts | |||
) |
Allocates and initializes the unpacking buffers.
ctl | Pointer to the control buffer | |
nevts | The number of events to process |
References _EDSD_sizesCtl::ievts, _EDSD_sizesCtl::nevts, _EDSD_sizesCtl::size, and _EDSD_sizesCtl::sizes.
int EDSD_sizesDestruct | ( | EDSD_sizesCtl * | ctl | ) |
DeAllocates and the sizes control structure.
ctl | Pointer to the control buffer |
References _EDSD_sizesCtl::sizes.
unsigned int EDSD_sizesProcess | ( | EDSD_sizesCtl * | ctl, | |
unsigned int | pktBytes, | |||
EBF_pkt * | pkt, | |||
EBF_siv | siv, | |||
EDS_fwIxb * | ixb | |||
) |
Evaluates the sizes of the various pieces of the event.
ctl | The control/context parameter | |
pktBytes | The number of bytes in pkt, includes the packet header | |
pkt | The event data packet | |
siv | The packet's state information vector | |
ixb | The framework's information exchange block |
References _EDSD_size::acd, _EDSD_sizeTem::cal, _EDSD_size::evt, _EDSD_size::gem, _EDSD_size::npkts, _EDSD_sizesCtl::size, _EDSD_sizeTem::tem, _EDSD_size::tems, and _EDSD_sizeTem::tkr.
void EDSD_sizesReport | ( | const EDSD_sizesCtl * | ctl | ) |
Reports the results.
ctl | The control parameter |
References calcSizesSummary(), printSizesSummary(), _EDSD_sizesCtl::size, and _EDSD_sizesCtl::sizes.
int EDSD_sizesSizeof | ( | void | ) |
Returns the size, in bytes, of the EDSD sizes control block.