13 from Configurables
import CpuHungryAlg, IntelProfilerAuditor
18 alg1 = CpuHungryAlg(
"Alg1")
19 alg2 = CpuHungryAlg(
"Alg2")
20 alg3 = CpuHungryAlg(
"Alg3")
21 alg4 = CpuHungryAlg(
"Alg4")
23 alg1.Loops = alg2.Loops = alg3.Loops = alg4.Loops = 5000000
25 subtop = Sequencer(
"SubSequence", Members=[alg1, alg2, alg3], ShortCircuit=
False)
26 top = Sequencer(
"TopSequence", Members=[subtop, alg4], ShortCircuit=
False)
28 profiler = IntelProfilerAuditor()
29 profiler.OutputLevel = DEBUG
30 profiler.StartFromEventN = 1
31 profiler.StopAtEventN = 2
32 profiler.ComponentsForTaskTypes = []
33 profiler.IncludeAlgorithms = [
"SubSequence"]
34 profiler.ExcludeAlgorithms = [
"Alg2"]
40 HistogramPersistency=
"NONE",