Skip to content

Commit 109e2e8

Browse files
authored
Fix typo
This prevented `enable_linux_perf` from being overridden when calling `run`.
1 parent 94e1401 commit 109e2e8

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
@@ -124,7 +124,7 @@ function _run(b::Benchmark, p::Parameters; verbose=false, pad="", kwargs...)
124124
iters += 1
125125
end
126126

127-
if p.enable_linux_perf
127+
if params.enable_linux_perf
128128
params.gcsample && gcscrub()
129129
trial.linux_perf_stats = b.linux_perf_func(b.quote_vals, params)
130130
end

0 commit comments

Comments
 (0)