Skip to content

Commit

Permalink
Tiny tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
VarLad committed May 18, 2024
1 parent f79f036 commit ba65696
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/PerfChecker.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using Pkg.Types
import TOML: parse
using Profile
import TypedTables: Table
import Malt: remote_eval, Worker, remote_eval_fetch, stop, fetch
import Malt: remote_eval_wait, Worker, remote_eval_fetch, stop, fetch
import CoverageTools: analyze_malloc_files, find_malloc_files, MallocInfo
import Base.Sys: CPUinfo, CPU_NAME, cpu_info, WORD_SIZE
import CpuId: simdbytes, cpucores, cputhreads, cputhreads_per_core
Expand Down
12 changes: 8 additions & 4 deletions src/check.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,18 @@ function check_function(x::Symbol, d::Dict, block1, block2)
end;

for i in 1:len
remote_eval(Main, procs[i], quote
remote_eval_wait(Main, procs[i], quote
import Pkg
Pkg.instantiate()
let
i = $i
@info "Worker No.: $i"
end
Pkg.instantiate(;io=stderr)
end)

remote_eval(Main, procs[i], initpkg)
remote_eval_wait(Main, procs[i], initpkg)

remote_eval(Main, procs[i], quote
remote_eval_wait(Main, procs[i], quote
d = $di
pkgs = $pkgs
if !($i == $len && $devop)
Expand Down

0 comments on commit ba65696

Please sign in to comment.