diff --git a/samples/runner/flag.go b/samples/runner/flag.go index dbd774d4..8a3287a4 100644 --- a/samples/runner/flag.go +++ b/samples/runner/flag.go @@ -46,7 +46,7 @@ var customPortForAkitaRTM = flag.Int("akitartm-port", 0, this number is not given or a invalid number is given number, a random port will be used.`) -var analyszerNameFlag = flag.String("analyzer-Name", "", +var analyszerNameFlag = flag.String("analyzer-name", "", "The name of the analyzer to use.") var analyszerPeriodFlag = flag.Float64("analyzer-period", 0.0, diff --git a/samples/runner/timingplatform.go b/samples/runner/timingplatform.go index a14ba464..6bec4a76 100644 --- a/samples/runner/timingplatform.go +++ b/samples/runner/timingplatform.go @@ -243,6 +243,7 @@ func (b *R9NanoPlatformBuilder) setupPerformanceAnalyzer() { b.perfAnalyzer = analysis.MakePerfAnalyzerBuilder(). WithPeriod(sim.VTimeInSec(b.perfAnalyzingPeriod)). WithDBFilename(b.perfAnalysisFileName). + WithEngine(b.engine). Build() } }