Skip to content

Commit 1723b2a

Browse files
authored
Explicitely call Base.fld
Fixes JuliaCI#190
1 parent 5df4174 commit 1723b2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/execution.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ function generate_benchmark_definition(eval_module, out_vars, setup_vars, core,
383383
$(teardown)
384384
__time = max((__sample_time / __evals) - __params.overhead, 0.001)
385385
__gctime = max((__gcdiff.total_time / __evals) - __params.overhead, 0.0)
386-
__memory = Int(fld(__gcdiff.allocd, __evals))
387-
__allocs = Int(fld(__gcdiff.malloc + __gcdiff.realloc +
386+
__memory = Int(Base.fld(__gcdiff.allocd, __evals))
387+
__allocs = Int(Base.fld(__gcdiff.malloc + __gcdiff.realloc +
388388
__gcdiff.poolalloc + __gcdiff.bigalloc,
389389
__evals))
390390
return __time, __gctime, __memory, __allocs, __return_val

0 commit comments

Comments
 (0)