Changeset 16529 for trunk


Ignore:
Timestamp:
05/31/13 14:26:52 (11 years ago)
Author:
tbretz
Message:
Adapted to changed in GUI_STATS
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r16525 r16529  
    15601560        const GUI_STAT &stat = d.ref<GUI_STAT>();
    15611561
    1562         /*
    1563          uint32_t bufNew ;            //# incomplete events in buffer (evtCtrl)
    1564          uint32_t bufEvt ;            //# complete events in buffer  (primaryQueue)
    1565          uint32_t bufWrite ;          //# events in write queue (secondaryQueue)
    1566          uint32_t bufProc ;           //# events in processing queue (processingQueue1)
    1567          uint32_t bufTot ;            //# total events currently in buffer (this corresponds to totMem)
    1568 
    1569          uint64_t totMem;             //# Bytes available in Buffer
    1570          uint64_t usdMem;             //# Bytes currently used
    1571          uint64_t maxMem;             //max # Bytes used during past cycle
    1572          */
    1573 
    1574         fFadBufferMax->setValue(stat.maxMem/1000000);
    1575         fFadBuffer->setMaximum(stat.totMem/100);
    1576         fFadBuffer->setValue(stat.usdMem/100);  // Max mem used in last second
     1562        fFadBufferMax->setValue(stat.totMem/1000000);  // Memory::allocated
     1563        fFadBuffer->setMaximum(stat.maxMem/100);       // g_maxMem
     1564        fFadBuffer->setValue(stat.usdMem/100);         // Memory::inuse
    15771565
    15781566        uint32_t sum = 0;
     
    15901578        fFadEvtConn->setValue(cnt);
    15911579
    1592         fFadEvtBufNew->setValue(stat.bufNew);  // Incomplete in buffer
    1593         fFadEvtBufEvt->setValue(stat.bufEvt);  // Complete in buffer
    1594         fFadEvtBufMax->setValue(stat.bufTot);  // Complete in buffer
     1580        fFadEvtBufNew->setValue(stat.bufNew);  // Incomplete in buffer (evtCtrl)
     1581        fFadEvtBufEvt->setValue(stat.bufTot);  // Complete events in buffer (max_inuse)
     1582
     1583        fFadEvtCheck->setValue(stat.bufEvt);  // Complete in buffer
    15951584        fFadEvtWrite->setValue(stat.bufWrite);
    1596         fFadEvtSkip->setValue(stat.bufProc);
     1585        fFadEvtProc->setValue(stat.bufProc);
    15971586
    15981587        if (stat.deltaT==0)
Note: See TracChangeset for help on using the changeset viewer.