Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:44

0001 # timing_t.cfg
0002 # NON-REGRESSSION Unit test configuration file for MessageLogger service:
0003 # This variant puts Timing into job report.  
0004 # Tester should run with FrameworkJobReport.fwk and timing_t.log for proper timing info.
0005 
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process("TEST")
0009 
0010 import FWCore.Framework.test.cmsExceptionsFatal_cff
0011 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0012 
0013 process.load("FWCore.MessageService.test.Services_cff")
0014 
0015 process.Timing = cms.Service("Timing",
0016     useJobReport = cms.untracked.bool(True)
0017 )
0018 
0019 process.MessageLogger = cms.Service("MessageLogger",
0020     cerr = cms.untracked.PSet(
0021         enable = cms.untracked.bool(False)
0022     ),
0023     debugModules = cms.untracked.vstring('*'),
0024     default = cms.untracked.PSet(
0025         FwkTest = cms.untracked.PSet(
0026             limit = cms.untracked.int32(0)
0027         )
0028     ),
0029     files = cms.untracked.PSet(
0030         timing_t = cms.untracked.PSet(
0031             noTimeStamps = cms.untracked.bool(True),
0032             threshold = cms.untracked.string('ERROR')
0033         )
0034     ),
0035     u16_job_report = cms.untracked.PSet(
0036         extension = cms.untracked.string('mmxml')
0037     )
0038 )
0039 
0040 process.maxEvents = cms.untracked.PSet(
0041     input = cms.untracked.int32(10)
0042 )
0043 
0044 process.source = cms.Source("EmptySource")
0045 
0046 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A")
0047 
0048 process.p = cms.Path(process.sendSomeMessages)