Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("LONGTEST")
0004 
0005 process.source = cms.Source("EmptySource")
0006 
0007 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0008 
0009 process.tester = cms.EDAnalyzer("TestTBBTasksAnalyzer",
0010                                 numTasksToRun = cms.untracked.uint32(10),
0011                                 nExpectedThreads = cms.untracked.uint32(8),
0012                                 usecondsToSleep=cms.untracked.uint32(100000))
0013 process.p = cms.Path(process.tester)
0014 
0015 process.add_(cms.Service("TestNThreadsChecker", nExpectedThreads=cms.untracked.uint32(8)))