Skip to content

Commit 20526cb

Browse files
committed
Type TrialContents Struct
1 parent 6559dff commit 20526cb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/trials.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ mutable struct Trial
1111
linux_perf_stats::Union{LinuxPerf.Stats,Nothing}
1212
end
1313

14-
struct TrialContents
15-
time
16-
gctime
17-
memory
18-
allocs
19-
return_val
20-
return_val_2
21-
linux_perf_stats
14+
struct TrialContents{A, B}
15+
time::Float64
16+
gctime::Float64
17+
memory::Int
18+
allocs::Int
19+
return_val::A
20+
return_val_2::B
21+
linux_perf_stats::Union{LinuxPerf.Stats,Nothing}
2222
end
2323

2424
function Trial(params::Parameters)

0 commit comments

Comments
 (0)