Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

scanTiming_sct.h

00001 /******************************************************************************
00002  *  scanTiming_sct.h:   defines a set of timing structures which are given as
00003  *                  part of the MDSP scanCtrl task's output.
00004  *
00005  ******************************************************************************/
00006 #ifndef SCAN_TIMING_H
00007 #define SCAN_TIMING_H 
00008 
00009 /* Scan timing structures: */
00010 typedef struct InitTiming {
00011     UINT32 total,
00012            dt_sdspSetup,
00013            dt_varSetup,
00014            dt_cfg;
00015 } InitTiming;
00016 
00017 typedef struct NewbinSubTiming {
00018     UINT32 nExe,
00019            dt_cfg,
00020            avg,
00021            total;
00022 } NewbinSubTiming;
00023 
00024 typedef struct NewbinTiming {
00025     UINT32 nExe,
00026            dt_task,
00027            avg,
00028            total,
00029            dt_setup,
00030            dt_calc,
00031            dt_cfg,
00032            dt_resets;
00033 
00034     NewbinSubTiming loop[4]; //0: stage, 1:inner, 2: outer, 3:chip
00035 } NewbinTiming;
00036 
00037 typedef struct DspTiming {
00038     UINT32 proc,
00039            idleFrac;
00040 } DspTiming; 
00041 
00042 typedef struct PulseTiming {
00043     UINT32 nExe,
00044            dt_task,
00045            avg,
00046            total,
00047            xmit,
00048            sdspDwell,
00049            nCorr,
00050            xmitFrac;
00051 
00052     DspTiming sdsp[4];
00053 } PulseTiming;
00054 
00055 typedef struct SectionTiming {
00056     UINT32 nExe,
00057            dt_task,
00058            avg,
00059            total;
00060 } SectionTiming;
00061 
00062 typedef struct ScanTimingInfo {
00063     UINT32 dt_total,
00064            dt_mainLoop,
00065            dt_sim,
00066            unused;
00067 
00068     InitTiming    init;
00069     NewbinTiming  nb;
00070     SectionTiming wexp;
00071     PulseTiming   pulse[256];
00072     SectionTiming wait;
00073     SectionTiming prep;
00074     SectionTiming done;
00075 } ScanTimingInfo;
00076 
00077 #endif /* Multiple-inclusion protection */

Generated on Fri Dec 16 19:38:18 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5