pub struct GpuExecutionReceipt { /* private fields */ }Expand description
Transfer and logical-stage receipt for one GPU frame.
Implementations§
Source§impl GpuExecutionReceipt
impl GpuExecutionReceipt
Sourcepub const fn transfer_stats(&self) -> TransferStats
pub const fn transfer_stats(&self) -> TransferStats
Returns the common transfer accounting for this execution.
Sourcepub const fn host_to_device_bytes(&self) -> u64
pub const fn host_to_device_bytes(&self) -> u64
Returns bytes uploaded from host memory.
Sourcepub const fn gpu_to_gpu_bytes(&self) -> u64
pub const fn gpu_to_gpu_bytes(&self) -> u64
Returns bytes copied between GPU buffers.
Sourcepub const fn device_to_host_bytes(&self) -> u64
pub const fn device_to_host_bytes(&self) -> u64
Returns bytes explicitly read back to host memory.
Trait Implementations§
Source§impl Clone for GpuExecutionReceipt
impl Clone for GpuExecutionReceipt
Source§fn clone(&self) -> GpuExecutionReceipt
fn clone(&self) -> GpuExecutionReceipt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GpuExecutionReceipt
impl Debug for GpuExecutionReceipt
Source§impl Default for GpuExecutionReceipt
impl Default for GpuExecutionReceipt
Source§fn default() -> GpuExecutionReceipt
fn default() -> GpuExecutionReceipt
Returns the “default value” for a type. Read more
Source§impl PartialEq for GpuExecutionReceipt
impl PartialEq for GpuExecutionReceipt
Source§fn eq(&self, other: &GpuExecutionReceipt) -> bool
fn eq(&self, other: &GpuExecutionReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GpuExecutionReceipt
impl StructuralPartialEq for GpuExecutionReceipt
Auto Trait Implementations§
impl Freeze for GpuExecutionReceipt
impl RefUnwindSafe for GpuExecutionReceipt
impl Send for GpuExecutionReceipt
impl Sync for GpuExecutionReceipt
impl Unpin for GpuExecutionReceipt
impl UnsafeUnpin for GpuExecutionReceipt
impl UnwindSafe for GpuExecutionReceipt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more