AllocationList::only_allocated_until_at_most

fn only_allocated_until_at_most(
    self: AllocationList,
    duration: Duration
) -> AllocationList

Returns a new AllocationList with only the allocations that were allocated until at most duration from the start of profiling.