Changeset 2299 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 08/01/03 16:28:20 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r2298 r2299 267 267 } 268 268 269 Bool_t MEvtLoop::ProcessGuiEvents(Int_t num )269 Bool_t MEvtLoop::ProcessGuiEvents(Int_t num, Int_t entries) 270 270 { 271 271 if (!fProgress || gROOT->IsBatch()) … … 320 320 txt += " ("; 321 321 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 += ")"; 323 328 } 324 329 fDisplay->SetStatusLine1(txt); … … 416 421 { 417 422 numcnts++; 418 if (!ProcessGuiEvents(++dummy ))423 if (!ProcessGuiEvents(++dummy, entries)) 419 424 break; 420 425 } … … 424 429 { 425 430 numcnts++; 426 if (!ProcessGuiEvents(maxcnt - dummy ))431 if (!ProcessGuiEvents(maxcnt - dummy, entries)) 427 432 break; 428 433 } -
trunk/MagicSoft/Mars/mbase/MEvtLoop.h
r2219 r2299 37 37 void StreamPrimitive(ofstream &out) const; 38 38 39 Bool_t ProcessGuiEvents(Int_t num );39 Bool_t ProcessGuiEvents(Int_t num, Int_t entries); 40 40 41 41 public:
Note:
See TracChangeset
for help on using the changeset viewer.