Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Oct 15, 2024
1 parent f249791 commit 8ea0531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/timing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ macro timed(ex)
)
local diff = GC_Diff(gc_num(), stats)
local sched_times = Int[]
for i in 1:Threads.maxthreadid()
for i in 1:length(task_times_per_thread[])
# filter out zeros in task timers which can only happen if nothing was scheduled
if task_times_per_thread[][i] != 0
# subtract task and sleep times from global elapsed time to get scheduling time per thread
Expand Down

0 comments on commit 8ea0531

Please sign in to comment.