Skip to content

Commit

Permalink
Fix alloc profiler count label
Browse files Browse the repository at this point in the history
  • Loading branch information
pfitzseb committed Oct 5, 2022
1 parent 3eded1a commit e454a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProfileCanvas.jl
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function view_allocs(_results=Profile.Allocs.fetch(); C=false)
else
this_counts.children[ind].count += 1
this_allocs.children[ind].count += alloc.size
this_allocs.children[ind].countLabel = memory_size(this_allocs.count)
this_allocs.children[ind].countLabel = memory_size(this_allocs.children[ind].countLabel)
end

counts_root.count += 1
Expand Down

0 comments on commit e454a4e

Please sign in to comment.