Direct3D 12 Memory Allocator
|
More detailed statistics than D3D12MA::Statistics. More...
#include <D3D12MemAlloc.h>
Public Attributes | |
Statistics | Stats |
Basic statistics. | |
UINT | UnusedRangeCount |
Number of free ranges of memory between allocations. | |
UINT64 | AllocationSizeMin |
Smallest allocation size. UINT64_MAX if there are 0 allocations. | |
UINT64 | AllocationSizeMax |
Largest allocation size. 0 if there are 0 allocations. | |
UINT64 | UnusedRangeSizeMin |
Smallest empty range size. UINT64_MAX if there are 0 empty ranges. | |
UINT64 | UnusedRangeSizeMax |
Largest empty range size. 0 if there are 0 empty ranges. | |
More detailed statistics than D3D12MA::Statistics.
These are slower to calculate. Use for debugging purposes. See functions: D3D12MA::Allocator::CalculateStatistics(), D3D12MA::Pool::CalculateStatistics().
Averages are not provided because they can be easily calculated as:
UINT64 D3D12MA::DetailedStatistics::AllocationSizeMax |
Largest allocation size. 0 if there are 0 allocations.
UINT64 D3D12MA::DetailedStatistics::AllocationSizeMin |
Smallest allocation size. UINT64_MAX
if there are 0 allocations.
Statistics D3D12MA::DetailedStatistics::Stats |
Basic statistics.
UINT D3D12MA::DetailedStatistics::UnusedRangeCount |
Number of free ranges of memory between allocations.
UINT64 D3D12MA::DetailedStatistics::UnusedRangeSizeMax |
Largest empty range size. 0 if there are 0 empty ranges.
UINT64 D3D12MA::DetailedStatistics::UnusedRangeSizeMin |
Smallest empty range size. UINT64_MAX
if there are 0 empty ranges.