mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-12-24 18:10:29 +01:00
move timed_msg
This commit is contained in:
parent
cd66f8d914
commit
6b20e37c74
@ -66,6 +66,15 @@ function ΔandSDPconstraints(name::String, generating_set::Function, radius::Int
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function timed_msg(t)
|
||||||
|
elapsed = t[2]
|
||||||
|
bytes_alloc = t[3]
|
||||||
|
gc_time = t[4]
|
||||||
|
gc_diff = t[5]
|
||||||
|
|
||||||
|
return "took: $elapsed s, allocated: $bytes_alloc bytes ($(gc_diff.poolalloc) allocations)."
|
||||||
|
end
|
||||||
|
|
||||||
function λandP(name::String)
|
function λandP(name::String)
|
||||||
λ_fname, SDP_fname = λSDPfilenames(name)
|
λ_fname, SDP_fname = λSDPfilenames(name)
|
||||||
f₁ = isfile(λ_fname)
|
f₁ = isfile(λ_fname)
|
||||||
@ -81,15 +90,6 @@ function λandP(name::String)
|
|||||||
return λ, P
|
return λ, P
|
||||||
end
|
end
|
||||||
|
|
||||||
function timed_msg(t)
|
|
||||||
elapsed = t[2]
|
|
||||||
bytes_alloc = t[3]
|
|
||||||
gc_time = t[4]
|
|
||||||
gc_diff = t[5]
|
|
||||||
|
|
||||||
return "took: $elapsed s, allocated: $bytes_alloc bytes ($(gc_diff.poolalloc) allocations)."
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
function λandP(name::String, opts...)
|
function λandP(name::String, opts...)
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user