Ignore:
Timestamp:
08/01/03 16:28:20 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MEvtLoop.cc

    r2298 r2299  
    267267}
    268268
    269 Bool_t MEvtLoop::ProcessGuiEvents(Int_t num)
     269Bool_t MEvtLoop::ProcessGuiEvents(Int_t num, Int_t entries)
    270270{
    271271    if (!fProgress || gROOT->IsBatch())
     
    320320            txt += " (";
    321321            txt += speed;
    322             txt += "Evts/s)";
     322            txt += "Evts/s, est: ";
     323            txt += (int)((long int)(t0-t2)*entries/(60000.*(num-start)));
     324            txt += "m";
     325            //txt += (int)fmod(entries/(1000.*(num-start)/(long int)(t0-t2)), 60);
     326            //txt += "s";
     327            txt += ")";
    323328        }
    324329        fDisplay->SetStatusLine1(txt);
     
    416421        {
    417422            numcnts++;
    418             if (!ProcessGuiEvents(++dummy))
     423            if (!ProcessGuiEvents(++dummy, entries))
    419424                break;
    420425        }
     
    424429        {
    425430            numcnts++;
    426             if (!ProcessGuiEvents(maxcnt - dummy))
     431            if (!ProcessGuiEvents(maxcnt - dummy, entries))
    427432                break;
    428433        }
  • trunk/MagicSoft/Mars/mbase/MEvtLoop.h

    r2219 r2299  
    3737    void StreamPrimitive(ofstream &out) const;
    3838
    39     Bool_t ProcessGuiEvents(Int_t num);
     39    Bool_t ProcessGuiEvents(Int_t num, Int_t entries);
    4040
    4141public:
Note: See TracChangeset for help on using the changeset viewer.