File indexing completed on 2024-04-06 12:11:56
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TRACING")
0004
0005 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring("file:file_for_grapher.root"))
0006
0007 process.busy1 = cms.EDProducer("BusyWaitIntProducer",ivalue = cms.int32(1), iterations = cms.uint32(100*1000*1000))
0008 process.shared1 = cms.EDProducer("BusyWaitIntOneSharedProducer",ivalue = cms.int32(12), iterations = cms.uint32(3000*1000))
0009
0010 process.adder1 = cms.EDProducer("AddIntsProducer",
0011 labels = cms.VInputTag("a","busy1","shared1"))
0012
0013 process.busy2 = cms.EDProducer("BusyWaitIntProducer", ivalue = cms.int32(7), iterations = cms.uint32(4*1000*1000))
0014 process.busy3 = cms.EDProducer("BusyWaitIntProducer", ivalue = cms.int32(2), iterations = cms.uint32(1000*1000))
0015 process.shared2 = cms.EDProducer("BusyWaitIntOneSharedProducer", ivalue=cms.int32(-1), iterations = cms.uint32(6000*1000))
0016
0017 process.strt = cms.EDProducer("AddIntsProducer",
0018 labels = cms.VInputTag("busy2","busy3","shared2","b", "adder1"))
0019
0020 process.t = cms.Task(process.busy1, process.shared1, process.adder1, process.busy2, process.busy3, process.shared2)
0021
0022 process.p = cms.Path(process.strt, process.t)
0023
0024
0025 process.testESSource = cms.ESSource("TestESConcurrentSource",
0026 firstValidLumis = cms.vuint32(1, 4, 6, 7, 8, 9),
0027 iterations = cms.uint32(10*1000*1000),
0028 checkIOVInitialization = cms.bool(True),
0029 expectedNumberOfConcurrentIOVs = cms.uint32(1)
0030 )
0031 process.concurrentIOVESProducer = cms.ESProducer("ConcurrentIOVESProducer")
0032 process.test = cms.EDAnalyzer("ConcurrentIOVAnalyzer",
0033 checkExpectedValues = cms.untracked.bool(False)
0034 )
0035 process.testOther = cms.EDAnalyzer("ConcurrentIOVAnalyzer",
0036 checkExpectedValues = cms.untracked.bool(False),
0037 fromSource = cms.untracked.ESInputTag(":other")
0038 )
0039 process.busy1 = cms.EDProducer("BusyWaitIntProducer",ivalue = cms.int32(1), iterations = cms.uint32(10*1000*1000))
0040 process.p1 = cms.Path(process.busy1 * process.test * process.testOther)
0041
0042 process.options = dict( numberOfStreams = 4,
0043 numberOfThreads = 5,
0044 numberOfConcurrentLuminosityBlocks = 1,
0045 numberOfConcurrentRuns = 1
0046 )
0047
0048 process.add_(cms.Service("Tracer", printTimestamps = cms.untracked.bool(True)))
0049 process.add_(cms.Service("StallMonitor", fileName = cms.untracked.string("stallMonitor.log")))