From f8139d6a1a1ef9088ddcb0eb1e1ae86f0883c719 Mon Sep 17 00:00:00 2001 From: Yifan Sun Date: Thu, 28 Mar 2024 18:02:06 -0400 Subject: [PATCH] change default analyer file name --- samples/runner/flag.go | 2 +- samples/runner/runner.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/runner/flag.go b/samples/runner/flag.go index 59f72a8e..abf503c4 100644 --- a/samples/runner/flag.go +++ b/samples/runner/flag.go @@ -49,7 +49,7 @@ will be used.`) var analyzerNameFlag = flag.String("analyzer-name", "", "The name of the analyzer to use.") -var analyzerPeriodFlag = flag.Float64("analyzer-period", 0.0, +var analyzerPeriodFlag = flag.Float64("analyzer-period", 0.0000001, "The period to dump the analyzer results.") var visTracing = flag.Bool("trace-vis", false, diff --git a/samples/runner/runner.go b/samples/runner/runner.go index f5076348..a9a1e2ce 100644 --- a/samples/runner/runner.go +++ b/samples/runner/runner.go @@ -159,6 +159,7 @@ func (*Runner) setAnalyzer( *analyzerPeriodFlag, ) } + return b }