AllocationGroupList::(iterator)
AllocationGroupList
can be iterated with a for
.
Examples
for group in allocations().group_by_backtrace().take(2) {
println("Allocations in group: {}", group.len());
}
Allocations in group: 1710
Allocations in group: 9