8 def generateOptions(counter, cmask, invmask, sampling_period, startatevent,
9 storeresultsat, family):
10 cmask =
map(int, cmask)
11 invmask =
map(int, invmask)
12 sampling_period =
map(int, sampling_period)
13 startatevent = int(startatevent)
15 from Configurables
import ApplicationMgr, AuditorSvc, PerfMonAuditor
17 app.AuditAlgorithms = 1
20 pfaud.EVENT0 = counter[0]
21 pfaud.SP0 = sampling_period[0]
22 pfaud.INV0 = int(invmask[0])
23 pfaud.CMASK0 = int(cmask[0])
24 pfaud.EVENT1 = counter[1]
25 pfaud.SP1 = sampling_period[1]
26 pfaud.INV1 = int(invmask[1])
27 pfaud.CMASK1 = int(cmask[1])
28 pfaud.EVENT2 = counter[2]
29 pfaud.SP2 = sampling_period[2]
30 pfaud.INV2 = int(invmask[2])
31 pfaud.CMASK2 = int(cmask[2])
32 pfaud.EVENT3 = counter[3]
33 pfaud.SP3 = sampling_period[3]
34 pfaud.INV3 = int(invmask[3])
35 pfaud.CMASK3 = int(cmask[3])
40 pfaud.PREFIX =
"%s_%s" % (storeresultsat,
41 "S" if sampling_period[0] > 0
else "C")
42 pfaud.SAMPLE = int(sampling_period[0] > 0)
43 pfaud.START_AT_EVENT = startatevent
def generateOptions(counter, cmask, invmask, sampling_period, startatevent, storeresultsat, family)
Performance Monitoring Auditor that uses Perfmon2 library to monitor algorithms.
struct GAUDI_API map
Parametrisation class for map-like implementation.
The Application Manager class.