Skip to content

Commit a6a38e1

Browse files
committed
Fix typo
This prevented `enable_linux_perf` from being overridden when calling `run`.
1 parent 192d731 commit a6a38e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/execution.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function _run(b::Benchmark, p::Parameters; verbose=false, pad="", warmup=true, k
127127
iters += 1
128128
end
129129

130-
if p.enable_linux_perf
130+
if params.enable_linux_perf
131131
params.gcsample && gcscrub()
132132
trial.linux_perf_stats = b.linux_perf_func(b.quote_vals, params)
133133
end

0 commit comments

Comments
 (0)