pub struct DeviceWorkQueueProfile {
pub initial_items: u64,
pub queue_capacity: u64,
pub entry_bytes: u64,
pub control_bytes: u64,
pub budget_bytes: u64,
pub host_sync: WorkQueueHostSync,
}Expand description
Work queue workload profile.
Fields§
§initial_items: u64Initial active work items enqueued before launch.
queue_capacity: u64Maximum resident queue capacity in work items.
entry_bytes: u64ABI bytes per queue entry.
control_bytes: u64Bytes required for queue head/tail counters and changed flags.
budget_bytes: u64Caller-approved device-memory budget.
host_sync: WorkQueueHostSyncHost synchronization policy.
Trait Implementations§
Source§impl Clone for DeviceWorkQueueProfile
impl Clone for DeviceWorkQueueProfile
Source§fn clone(&self) -> DeviceWorkQueueProfile
fn clone(&self) -> DeviceWorkQueueProfile
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 moreimpl Copy for DeviceWorkQueueProfile
Source§impl Debug for DeviceWorkQueueProfile
impl Debug for DeviceWorkQueueProfile
impl Eq for DeviceWorkQueueProfile
Source§impl PartialEq for DeviceWorkQueueProfile
impl PartialEq for DeviceWorkQueueProfile
Source§fn eq(&self, other: &DeviceWorkQueueProfile) -> bool
fn eq(&self, other: &DeviceWorkQueueProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceWorkQueueProfile
Auto Trait Implementations§
impl Freeze for DeviceWorkQueueProfile
impl RefUnwindSafe for DeviceWorkQueueProfile
impl Send for DeviceWorkQueueProfile
impl Sync for DeviceWorkQueueProfile
impl Unpin for DeviceWorkQueueProfile
impl UnsafeUnpin for DeviceWorkQueueProfile
impl UnwindSafe for DeviceWorkQueueProfile
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.