Trait vk_alloc::AllocatorStatistic[][src]

pub trait AllocatorStatistic {
    fn allocation_count(&self) -> usize;
fn unused_range_count(&self) -> usize;
fn used_bytes(&self) -> u64;
fn unused_bytes(&self) -> u64;
fn block_count(&self) -> usize; }

Trait to query an allocator for some statistics.

Required methods

fn allocation_count(&self) -> usize[src]

Number of allocations.

fn unused_range_count(&self) -> usize[src]

Number of unused ranges between allocations.

fn used_bytes(&self) -> u64[src]

Number of bytes used by the allocations.

fn unused_bytes(&self) -> u64[src]

Number of bytes used by the unused ranges between allocations.

fn block_count(&self) -> usize[src]

Number of allocated Vulkan memory blocks.

Loading content...

Implementors

Loading content...