1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-26 09:00:28 +01:00

fix logtime macro

This commit is contained in:
kalmarek 2018-01-01 23:54:36 +01:00
parent 3066046fdb
commit 7ac194f98a

View File

@ -38,7 +38,7 @@ macro logtime(logger, ex)
local diff = Base.GC_Diff(Base.gc_num(), stats) local diff = Base.GC_Diff(Base.gc_num(), stats)
local ts = time_string(elapsedtime, diff.allocd, diff.total_time, local ts = time_string(elapsedtime, diff.allocd, diff.total_time,
Base.gc_alloc_count(diff)) Base.gc_alloc_count(diff))
esc(info(logger, ts)) $(esc(info))($(esc(logger)), ts)
val val
end end
end end