Skip to content

Commit 6d8f02c

Browse files
authored
Merge pull request #191 from jaakkor2/patch-1
Explicitely call Base.fld
2 parents e058ff2 + 1723b2a commit 6d8f02c

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
@@ -491,8 +491,8 @@ function generate_benchmark_definition(eval_module, out_vars, setup_vars, core,
491491
$(teardown)
492492
__time = max((__sample_time / __evals) - __params.overhead, 0.001)
493493
__gctime = max((__gcdiff.total_time / __evals) - __params.overhead, 0.0)
494-
__memory = Int(fld(__gcdiff.allocd, __evals))
495-
__allocs = Int(fld(__gcdiff.malloc + __gcdiff.realloc +
494+
__memory = Int(Base.fld(__gcdiff.allocd, __evals))
495+
__allocs = Int(Base.fld(__gcdiff.malloc + __gcdiff.realloc +
496496
__gcdiff.poolalloc + __gcdiff.bigalloc,
497497
__evals))
498498
return __time, __gctime, __memory, __allocs, __return_val

0 commit comments

Comments
 (0)