13 A test for a single algorithm with internal multithreading
17 from Configurables
import (HiveWhiteBoard, HiveSlimEventLoopMgr, CPUCrunchSvc,
18 AvalancheSchedulerSvc, AlgResourcePool, CPUCruncher)
25 whiteboard = HiveWhiteBoard(
"EventDataSvc", EventSlots=evtslots)
27 slimeventloopmgr = HiveSlimEventLoopMgr(
28 SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=DEBUG)
30 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=threads, OutputLevel=VERBOSE)
32 AlgResourcePool(OutputLevel=DEBUG)
34 CPUCrunchSvc(shortCalib=
True)
38 a1 = CPUCruncher(
"A1")
39 a1.Cardinality = cardinality
42 a1.OutputLevel = DEBUG
50 EventLoop=slimeventloopmgr,
52 MessageSvcType=
"InertMessageSvc",