Function umpire::util::relative_fragmentation

Function Documentation

float umpire::util::relative_fragmentation(std::vector<util::AllocationRecord> &recs)

Compute the relative fragmentation of a set of allocation records.

Fragmentation = 1 - (largest free block) / (total free space)