Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
This prevented `enable_linux_perf` from being overridden when calling `run`.
  • Loading branch information
Zentrik committed Feb 4, 2024
1 parent 94e1401 commit 109e2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/execution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function _run(b::Benchmark, p::Parameters; verbose=false, pad="", kwargs...)
iters += 1
end

if p.enable_linux_perf
if params.enable_linux_perf
params.gcsample && gcscrub()
trial.linux_perf_stats = b.linux_perf_func(b.quote_vals, params)
end
Expand Down

0 comments on commit 109e2e8

Please sign in to comment.