Skip to content

Commit 8ea0531

Browse files
fix test
1 parent f249791 commit 8ea0531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/timing.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ macro timed(ex)
634634
)
635635
local diff = GC_Diff(gc_num(), stats)
636636
local sched_times = Int[]
637-
for i in 1:Threads.maxthreadid()
637+
for i in 1:length(task_times_per_thread[])
638638
# filter out zeros in task timers which can only happen if nothing was scheduled
639639
if task_times_per_thread[][i] != 0
640640
# subtract task and sleep times from global elapsed time to get scheduling time per thread

0 commit comments

Comments
 (0)