Struct vk_mem_erupt::DefragmentationStats [−][src]
pub struct DefragmentationStats {
pub bytes_moved: usize,
pub bytes_freed: usize,
pub allocations_moved: u32,
pub device_memory_blocks_freed: u32,
}
Expand description
Statistics returned by Allocator::defragment
Fields
bytes_moved: usize
Total number of bytes that have been copied while moving allocations to different places.
bytes_freed: usize
Total number of bytes that have been released to the system by freeing empty erupt::vk::DeviceMemory
objects.
allocations_moved: u32
Number of allocations that have been moved to different places.
device_memory_blocks_freed: u32
Number of empty erupt::vk::DeviceMemory
objects that have been released to the system.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DefragmentationStats
impl Send for DefragmentationStats
impl Sync for DefragmentationStats
impl Unpin for DefragmentationStats
impl UnwindSafe for DefragmentationStats
Blanket Implementations
Mutably borrows from an owned value. Read more