16 counter, cmask, invmask, sampling_period, startatevent, storeresultsat, family
18 cmask =
map(int, cmask)
19 invmask =
map(int, invmask)
20 sampling_period =
map(int, sampling_period)
21 startatevent = int(startatevent)
23 from Configurables
import ApplicationMgr, AuditorSvc, PerfMonAuditor
26 app.AuditAlgorithms = 1
29 pfaud.EVENT0 = counter[0]
30 pfaud.SP0 = sampling_period[0]
31 pfaud.INV0 = int(invmask[0])
32 pfaud.CMASK0 = int(cmask[0])
33 pfaud.EVENT1 = counter[1]
34 pfaud.SP1 = sampling_period[1]
35 pfaud.INV1 = int(invmask[1])
36 pfaud.CMASK1 = int(cmask[1])
37 pfaud.EVENT2 = counter[2]
38 pfaud.SP2 = sampling_period[2]
39 pfaud.INV2 = int(invmask[2])
40 pfaud.CMASK2 = int(cmask[2])
41 pfaud.EVENT3 = counter[3]
42 pfaud.SP3 = sampling_period[3]
43 pfaud.INV3 = int(invmask[3])
44 pfaud.CMASK3 = int(cmask[3])
49 pfaud.PREFIX =
"%s_%s" % (storeresultsat,
"S" if sampling_period[0] > 0
else "C")
50 pfaud.SAMPLE = int(sampling_period[0] > 0)
51 pfaud.START_AT_EVENT = startatevent