We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 031f5a4 commit f11b769Copy full SHA for f11b769
src/parameters.jl
@@ -5,7 +5,7 @@ const RESOLUTION = 1000 # 1 μs = 1000 ns
5
# Parameters #
6
##############
7
8
-mutable struct Parameters{A<:Function,B<:Function}
+mutable struct Parameters{A,B}
9
seconds::Float64
10
samples::Int
11
evals::Int
@@ -18,9 +18,9 @@ mutable struct Parameters{A<:Function,B<:Function}
18
run_customisable_func_only::Bool
19
enable_customisable_func::Symbol
20
customisable_gcsample::Bool
21
- setup_prehook::Function
22
- teardown_posthook::Function
23
- sample_result::Function
+ setup_prehook
+ teardown_posthook
+ sample_result
24
prehook::A
25
posthook::B
26
end
0 commit comments