Allocation::deallocated_at

fn deallocated_at(
    self: Allocation
) -> Option<Duration>

Returns when this allocation was freed, as a time offset from the start of the profiling.

Examples

println((allocations().only_leaked())[0].deallocated_at());
println((allocations().only_temporary())[0].deallocated_at());
None
Some(62ms 799us)