Changeset 16524 for trunk


Ignore:
Timestamp:
05/31/13 13:06:25 (11 years ago)
Author:
tbretz
Message:
Simplified GUI_STATS
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/FAD.h

    r16104 r16524  
    132132
    133133typedef struct {
    134   //info about status of the main threads
    135    int32_t  readStat ;          //read thread
    136    int32_t  procStat ;          //processing thread(s)
    137    int32_t  writStat ;          //write thread
     134  //info about (current state of) the buffer
     135   uint32_t bufNew ;            //# incomplete events in buffer (evtCtrl)
     136   uint32_t bufEvt ;            //# complete events in buffer  (primaryQueue)
     137   uint32_t bufWrite ;          //# events in write queue (secondaryQueue)
     138   uint32_t bufProc ;           //# events in processing queue (processingQueue1)
     139   uint32_t bufTot ;            //# total events currently in buffer (this corresponds to totMem)
    138140
    139   //info about (current state of) the buffer
    140    int32_t  bufNew ;            //# incomplete events in buffer
    141    int32_t  bufEvt ;            //# complete events in buffer
    142    int32_t  bufTot ;            //# total events currently in buffer
    143    int32_t  maxEvt ;            //# maximum events in buffer past cycle
    144    int32_t  xxxEvt ;            //# maximum events ever in buffer
    145141   uint64_t totMem;             //# Bytes available in Buffer
    146142   uint64_t usdMem;             //# Bytes currently used
    147    uint64_t xxxMem;             //max # Bytes ever used  **
    148143   uint64_t maxMem;             //max # Bytes used during past cycle
    149 
    150   //counters
    151    int32_t  evtSkip ;           //# incomplete Events skipped (timeout)
    152    int32_t  evtWrite ;          //# Events written (or flushed if noWrite)
    153    int32_t  evtErr ;            //# Events with errors
    154    int32_t  badRoiE;            //# boards with wrong roi (inconsistent in event)
    155    int32_t  badRoiR;            //# boards with wrong roi (inconsistent in run)
    156    int32_t  badRoiB;            //# boards with wrong roi (inconsistent in board)
    157    int32_t  badRoi[NBOARDS];    //# boards with wrong roi
    158144
    159145  //rates
     
    164150  //connections
    165151   int8_t   numConn[NBOARDS] ;  //#connections per board (at the moment)
    166    //int32_t  errConn[NBOARDS] ;  //#I/O errors per board (counter)
    167152   int32_t  rateBytes[NBOARDS]; //#Bytes read this cycle  **
    168153   int64_t  totBytes[NBOARDS];  //#Bytes read (counter)
Note: See TracChangeset for help on using the changeset viewer.