1 #ifndef FWCore_MessageLogger_JobReport_h 2 #define FWCore_MessageLogger_JobReport_h 98 #include "tbb/concurrent_unordered_map.h" 99 #include "tbb/concurrent_vector.h" 174 std::atomic<long long>&
value() {
return value_; }
175 std::atomic<long long>
const&
value()
const {
return value_; }
194 void insertInputForOutputs(
InputType inputType, Token t);
206 void associateInputLumiSection(
unsigned int runNumber,
unsigned int lumiSection);
216 void associateInputRun(
unsigned int runNumber);
244 void flushFiles(
void);
281 std::vector<std::string>
const& branchNames);
312 std::vector<std::string>
const& branchNames);
358 int const& exitCode);
370 std::map<std::string, std::string>
const& fileData) ;
421 std::map<std::string, std::string>
const& metrics);
425 std::map<std::string, std::string>
const& metrics);
void reportSkippedFile(std::string const &pfn, std::string const &lfn)
std::string outputModuleClassName
std::string physicalFileName
void reportMemoryInfo(std::vector< std::string > const &memoryData)
void reportInputRunNumber(unsigned int run)
void eventReadFromFile(InputType inputType, Token fileToken)
std::map< std::string, long long > readBranches_
static boost::mutex mutex
void reportFallbackAttempt(std::string const &pfn, std::string const &lfn, std::string const &err)
std::ostream const * ost() const
unsigned long long EventNumber_t
std::atomic< long long > & value()
std::map< std::string, bool > fastCopyingInputs
std::string logicalFileName
void reportFastCopyingStatus(Token t, std::string const &inputFileName, bool fastCopying)
void reportRunNumber(JobReport::Token token, unsigned int run)
void reportRandomStateFile(std::string const &name)
JobReport & operator=(JobReport const &)=delete
edm::propagate_const< std::unique_ptr< JobReportImpl > > impl_
Token inputFileOpened(std::string const &physicalFileName, std::string const &logicalFileName, std::string const &catalog, std::string const &inputType, std::string const &inputSourceClassName, std::string const &moduleLabel, std::string const &guid, std::vector< std::string > const &branchNames)
std::vector< InputFile > inputFiles_
void reportPerformanceForModule(std::string const &metricClass, std::string const &moduleName, std::map< std::string, std::string > const &metrics)
edm::propagate_const< std::unique_ptr< JobReportImpl > > & impl()
std::vector< Token > contributingInputs
void reportSkippedEvent(RunNumber_t run, EventNumber_t event)
tbb::concurrent_unordered_map< std::string, AtomicLongLong > readBranchesSecSource_
InputFile::StringVector StringVector
std::string moduleName(Provenance const &provenance)
void reportInputLumiSection(unsigned int run, unsigned int lumiSectId)
std::map< std::string, long long > readBranchesSecFile_
std::map< RunNumber, RunReport > runReports
void reportPerformanceSummary(std::string const &metricClass, std::map< std::string, std::string > const &metrics)
Token outputFileOpened(std::string const &physicalFileName, std::string const &logicalFileName, std::string const &catalog, std::string const &outputModuleClassName, std::string const &moduleLabel, std::string const &guid, std::string const &dataType, std::string const &branchHash, std::vector< std::string > const &branchNames)
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
AtomicLongLong(AtomicLongLong const &r)
edm::propagate_const< std::ostream * > ost_
std::atomic< long long > const & value() const
void reportError(std::string const &shortDesc, std::string const &longDesc, int const &exitCode)
void reportReadBranch(InputType inputType, std::string const &branchName)
Inform the job report that a branch has been read.
std::size_t numEventsWritten
void reportFastClonedBranches(std::set< std::string > const &fastClonedBranches, long long nEvents)
Inform the job report that branches have been fast Cloned.
void eventWrittenToFile(Token fileToken, RunNumber_t run, EventNumber_t event)
tbb::concurrent_vector< InputFile > inputFilesSecSource_
std::atomic< long long > value_
void reportMessageInfo(std::map< std::string, double > const &messageData)
std::string dumpFiles(void)
debug/test util
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
std::vector< InputFile >::size_type lastOpenedPrimaryInputFile_
void outputFileClosed(Token fileToken)
std::map< unsigned int, unsigned long > lumiSectionsToNEvents
JobReportImpl(std::ostream *iOst)
tbb::concurrent_vector< OutputFile > outputFiles_
void reportDataType(Token fileToken, std::string const &dataType)
tbb::concurrent_vector< Token > contributingInputsSecSource
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
void inputFileClosed(InputType inputType, Token fileToken)
void reportReadBranches()
void reportLumiSection(JobReport::Token token, unsigned int run, unsigned int lumiSectId, unsigned long nEvents=0)
bool printedReadBranches_