Changeset 16539


Ignore:
Timestamp:
06/01/13 12:11:51 (12 years ago)
Author:
tbretz
Message:
Move the update for the fDimWriteStats to UpdateRuns, so it does not block the main thread.
File:
1 edited

Legend:

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

    r16530 r16539  
    465465        strcpy(data.data()+sizeof(values), fname.c_str());
    466466        fDimRuns.Update(data);
     467
     468        if (!name.empty()
     469            fDimWriteStats.FileOpened(name);
    467470    }
    468471
     
    541544        fNumEvts[kCurrent]   = 0;
    542545        fQueueEvents.emplace(Time(), fNumEvts);
    543 
    544         fDimWriteStats.FileOpened(file->GetFileName());
    545546
    546547        ostringstream str;
Note: See TracChangeset for help on using the changeset viewer.